pub struct Layout { /* private fields */ }
Implementations§
Source§impl Layout
impl Layout
pub fn flat(buffer: ByteRange, row_count: u64) -> Self
Sourcepub fn chunked(
children: Vec<Layout>,
row_count: u64,
has_metadata: bool,
) -> Self
pub fn chunked( children: Vec<Layout>, row_count: u64, has_metadata: bool, ) -> Self
Create a chunked layout with children.
has_metadata indicates whether first child is a layout containing metadata about other children.
pub fn column(children: Vec<Layout>, row_count: u64) -> Self
pub fn inlined_schema( children: Vec<Layout>, row_count: u64, dtype_buffer: ByteRange, ) -> Self
Trait Implementations§
Source§impl WriteFlatBuffer for Layout
impl WriteFlatBuffer for Layout
type Target<'a> = Layout<'a>
fn write_flatbuffer<'fb>( &self, fbb: &mut FlatBufferBuilder<'fb>, ) -> WIPOffset<Self::Target<'fb>>
Auto Trait Implementations§
impl !Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnwindSafe for Layout
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<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