pub enum LayoutChildType {
Transparent(Arc<str>),
Auxiliary(Arc<str>),
Chunk((usize, u64)),
Field(FieldName),
}
Expand description
A type that allows us to identify how a layout child relates to its parent.
Variants§
Transparent(Arc<str>)
A layout child that retains the same schema and row offset position in the dataset.
Auxiliary(Arc<str>)
A layout child that provides auxiliary data, e.g. dictionary values, zone maps, etc. Contains a human-readable name of the child.
Chunk((usize, u64))
A layout child that represents a row-based chunk of data. Contains the chunk index and relative row offset of the child.
Field(FieldName)
A layout child that represents a single field of data. Contains the field name of the child.
Implementations§
Trait Implementations§
Source§impl Clone for LayoutChildType
impl Clone for LayoutChildType
Source§fn clone(&self) -> LayoutChildType
fn clone(&self) -> LayoutChildType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LayoutChildType
impl Debug for LayoutChildType
Source§impl PartialEq for LayoutChildType
impl PartialEq for LayoutChildType
impl Eq for LayoutChildType
impl StructuralPartialEq for LayoutChildType
Auto Trait Implementations§
impl Freeze for LayoutChildType
impl RefUnwindSafe for LayoutChildType
impl Send for LayoutChildType
impl Sync for LayoutChildType
impl Unpin for LayoutChildType
impl UnwindSafe for LayoutChildType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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