pub struct FixedColumn<'a, T: FixedWidth> { /* private fields */ }Expand description
Borrowed view over a packed little-endian array of T.
Implementations§
Source§impl<'a, T: FixedWidth> FixedColumn<'a, T>
impl<'a, T: FixedWidth> FixedColumn<'a, T>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn validity(&self) -> Validity<'a>
pub fn is_null(&self, row: usize) -> bool
Sourcepub fn raw(&self) -> &'a [u8] ⓘ
pub fn raw(&self) -> &'a [u8] ⓘ
Raw little-endian bytes for the entire column. len() * T::SIZE long.
Trait Implementations§
Source§impl<'a, T: Clone + FixedWidth> Clone for FixedColumn<'a, T>
impl<'a, T: Clone + FixedWidth> Clone for FixedColumn<'a, T>
Source§fn clone(&self) -> FixedColumn<'a, T>
fn clone(&self) -> FixedColumn<'a, T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a, T: Copy + FixedWidth> Copy for FixedColumn<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for FixedColumn<'a, T>
impl<'a, T> RefUnwindSafe for FixedColumn<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for FixedColumn<'a, T>where
T: Send,
impl<'a, T> Sync for FixedColumn<'a, T>where
T: Sync,
impl<'a, T> Unpin for FixedColumn<'a, T>where
T: Unpin,
impl<'a, T> UnsafeUnpin for FixedColumn<'a, T>
impl<'a, T> UnwindSafe for FixedColumn<'a, T>where
T: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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