struct ZeroBufferGenerator<T>where
T: ArrowNativeType,{
cache: Option<Buffer>,
_t: PhantomData<T>,
}Expand description
Generate a arrow [Buffer] that contains zero values.
Fields§
§cache: Option<Buffer>§_t: PhantomData<T>Implementations§
Source§impl<T> ZeroBufferGenerator<T>where
T: ArrowNativeType,
impl<T> ZeroBufferGenerator<T>where
T: ArrowNativeType,
Trait Implementations§
Source§impl<T> Debug for ZeroBufferGenerator<T>where
T: ArrowNativeType + Debug,
impl<T> Debug for ZeroBufferGenerator<T>where
T: ArrowNativeType + Debug,
Source§impl<T> Default for ZeroBufferGenerator<T>where
T: ArrowNativeType + Default,
impl<T> Default for ZeroBufferGenerator<T>where
T: ArrowNativeType + Default,
Source§fn default() -> ZeroBufferGenerator<T>
fn default() -> ZeroBufferGenerator<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for ZeroBufferGenerator<T>
impl<T> RefUnwindSafe for ZeroBufferGenerator<T>where
T: RefUnwindSafe,
impl<T> Send for ZeroBufferGenerator<T>
impl<T> Sync for ZeroBufferGenerator<T>
impl<T> Unpin for ZeroBufferGenerator<T>where
T: Unpin,
impl<T> UnwindSafe for ZeroBufferGenerator<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more