pub struct FieldBuilder<'a: 'b, 'b, A: Allocator + 'a> {
fbb_: &'b mut FlatBufferBuilder<'a, A>,
start_: WIPOffset<TableUnfinishedWIPOffset>,
}
Fields§
§fbb_: &'b mut FlatBufferBuilder<'a, A>
§start_: WIPOffset<TableUnfinishedWIPOffset>
Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> FieldBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> FieldBuilder<'a, 'b, A>
pub fn add_name(&mut self, name: WIPOffset<&'b str>)
pub fn add_nullable(&mut self, nullable: bool)
pub fn add_type_type(&mut self, type_type: Type)
pub fn add_type_(&mut self, type_: WIPOffset<UnionWIPOffset>)
pub fn add_dictionary(&mut self, dictionary: WIPOffset<DictionaryEncoding<'b>>)
pub fn add_children( &mut self, children: WIPOffset<Vector<'b, ForwardsUOffset<Field<'b>>>>, )
pub fn add_custom_metadata( &mut self, custom_metadata: WIPOffset<Vector<'b, ForwardsUOffset<KeyValue<'b>>>>, )
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> FieldBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<Field<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for FieldBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for FieldBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for FieldBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for FieldBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for FieldBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for FieldBuilder<'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