Struct vortex_array::flatbuffers::ArrayData
pub struct ArrayData<'a> {
pub _tab: Table<'a>,
}
Expand description
An ArrayData describes the hierarchy of an array as well as the locations of the data buffers that appear immediately after the message in the byte stream.
Fields§
§_tab: Table<'a>
Implementations§
§impl<'a> ArrayData<'a>
impl<'a> ArrayData<'a>
pub const VT_ARRAY: u16 = 4u16
pub const VT_ROW_COUNT: u16 = 6u16
pub const VT_BUFFERS: u16 = 8u16
pub unsafe fn init_from_table(table: Table<'a>) -> ArrayData<'a>
pub fn create<'bldr, 'args, 'mut_bldr, A>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>,
args: &'args ArrayDataArgs<'args>,
) -> WIPOffset<ArrayData<'bldr>>where
'bldr: 'args,
'args: 'mut_bldr,
A: Allocator + 'bldr,
Trait Implementations§
§impl Verifiable for ArrayData<'_>
impl Verifiable for ArrayData<'_>
§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for ArrayData<'a>
impl<'a> StructuralPartialEq for ArrayData<'a>
Auto Trait Implementations§
impl<'a> Freeze for ArrayData<'a>
impl<'a> RefUnwindSafe for ArrayData<'a>
impl<'a> Send for ArrayData<'a>
impl<'a> Sync for ArrayData<'a>
impl<'a> Unpin for ArrayData<'a>
impl<'a> UnwindSafe for ArrayData<'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> 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