Struct vortex_flatbuffers::array::ArrayBuilder
source · pub struct ArrayBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }
Implementations§
source§impl<'a: 'b, 'b, A: Allocator + 'a> ArrayBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> ArrayBuilder<'a, 'b, A>
pub fn add_encoding(&mut self, encoding: u16)
pub fn add_metadata(&mut self, metadata: WIPOffset<Vector<'b, u8>>)
pub fn add_children( &mut self, children: WIPOffset<Vector<'b, ForwardsUOffset<Array<'b>>>>, )
pub fn add_buffers(&mut self, buffers: WIPOffset<Vector<'b, u16>>)
pub fn add_stats(&mut self, stats: WIPOffset<ArrayStats<'b>>)
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> ArrayBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<Array<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for ArrayBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for ArrayBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for ArrayBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for ArrayBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for ArrayBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for ArrayBuilder<'a, 'b, 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