Struct vortex_file::LayoutSpec
source · pub struct LayoutSpec { /* private fields */ }
Implementations§
source§impl LayoutSpec
impl LayoutSpec
pub fn flat(buffer: ByteRange, row_count: u64) -> Self
sourcepub fn chunked(
children: Vec<LayoutSpec>,
row_count: u64,
metadata: Option<Buffer>,
) -> Self
pub fn chunked( children: Vec<LayoutSpec>, row_count: u64, metadata: Option<Buffer>, ) -> 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<LayoutSpec>, row_count: u64) -> Self
Trait Implementations§
source§impl Clone for LayoutSpec
impl Clone for LayoutSpec
source§fn clone(&self) -> LayoutSpec
fn clone(&self) -> LayoutSpec
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 LayoutSpec
impl Debug for LayoutSpec
source§impl WriteFlatBuffer for LayoutSpec
impl WriteFlatBuffer for LayoutSpec
impl FlatBufferRoot for LayoutSpec
Auto Trait Implementations§
impl !Freeze for LayoutSpec
impl RefUnwindSafe for LayoutSpec
impl Send for LayoutSpec
impl Sync for LayoutSpec
impl Unpin for LayoutSpec
impl UnwindSafe for LayoutSpec
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<F> WriteFlatBufferExt for Fwhere
F: WriteFlatBuffer + FlatBufferRoot,
impl<F> WriteFlatBufferExt for Fwhere
F: WriteFlatBuffer + FlatBufferRoot,
§fn write_flatbuffer_bytes(&self) -> Buffer
fn write_flatbuffer_bytes(&self) -> Buffer
Write the flatbuffer into a [
Buffer
].