pub struct ArrayNodeFlatBuffer<'a> { /* private fields */ }
Expand description
A utility struct for creating an fba::ArrayNode
flatbuffer.
Implementations§
Source§impl<'a> ArrayNodeFlatBuffer<'a>
impl<'a> ArrayNodeFlatBuffer<'a>
pub fn try_new( ctx: &'a ArrayContext, array: &'a dyn Array, ) -> VortexResult<Self>
Trait Implementations§
Source§impl WriteFlatBuffer for ArrayNodeFlatBuffer<'_>
impl WriteFlatBuffer for ArrayNodeFlatBuffer<'_>
type Target<'t> = ArrayNode<'t>
fn write_flatbuffer<'fb>( &self, fbb: &mut FlatBufferBuilder<'fb>, ) -> WIPOffset<Self::Target<'fb>>
impl FlatBufferRoot for ArrayNodeFlatBuffer<'_>
Auto Trait Implementations§
impl<'a> Freeze for ArrayNodeFlatBuffer<'a>
impl<'a> !RefUnwindSafe for ArrayNodeFlatBuffer<'a>
impl<'a> Send for ArrayNodeFlatBuffer<'a>
impl<'a> Sync for ArrayNodeFlatBuffer<'a>
impl<'a> Unpin for ArrayNodeFlatBuffer<'a>
impl<'a> !UnwindSafe for ArrayNodeFlatBuffer<'a>
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> 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 moreSource§impl<F> WriteFlatBufferExt for Fwhere
F: WriteFlatBuffer + FlatBufferRoot,
impl<F> WriteFlatBufferExt for Fwhere
F: WriteFlatBuffer + FlatBufferRoot,
Source§fn write_flatbuffer_bytes(&self) -> ConstBuffer<u8, 8>
fn write_flatbuffer_bytes(&self) -> ConstBuffer<u8, 8>
Write the flatbuffer into a
FlatBuffer
.