pub struct SemanticObjectBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> SemanticObjectBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> SemanticObjectBuilder<'a, 'b, A>
pub fn add_type_(&mut self, type_: SemanticSurfaceType)
pub fn add_attributes(&mut self, attributes: WIPOffset<Vector<'b, u8>>)
pub fn add_children(&mut self, children: WIPOffset<Vector<'b, u32>>)
pub fn add_parent(&mut self, parent: u32)
pub fn add_extension_type(&mut self, extension_type: WIPOffset<&'b str>)
pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, ) -> SemanticObjectBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<SemanticObject<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for SemanticObjectBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for SemanticObjectBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for SemanticObjectBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for SemanticObjectBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for SemanticObjectBuilder<'a, 'b, A>
impl<'a, 'b, A> UnsafeUnpin for SemanticObjectBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for SemanticObjectBuilder<'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