pub struct SchemaBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }
Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> SchemaBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> SchemaBuilder<'a, 'b, A>
pub fn add_objects( &mut self, objects: WIPOffset<Vector<'b, ForwardsUOffset<Object<'b>>>>, )
pub fn add_enums( &mut self, enums: WIPOffset<Vector<'b, ForwardsUOffset<Enum<'b>>>>, )
pub fn add_file_ident(&mut self, file_ident: WIPOffset<&'b str>)
pub fn add_file_ext(&mut self, file_ext: WIPOffset<&'b str>)
pub fn add_root_table(&mut self, root_table: WIPOffset<Object<'b>>)
pub fn add_services( &mut self, services: WIPOffset<Vector<'b, ForwardsUOffset<Service<'b>>>>, )
pub fn add_advanced_features(&mut self, advanced_features: AdvancedFeatures)
pub fn add_fbs_files( &mut self, fbs_files: WIPOffset<Vector<'b, ForwardsUOffset<SchemaFile<'b>>>>, )
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> SchemaBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<Schema<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for SchemaBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for SchemaBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for SchemaBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for SchemaBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for SchemaBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for SchemaBuilder<'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