pub struct ViewRootBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> ViewRootBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> ViewRootBuilder<'a, 'b, A>
pub fn add_node_id(&mut self, node_id: WIPOffset<&'b str>)
pub fn add_children( &mut self, children: WIPOffset<Vector<'b, ForwardsUOffset<ChildNode<'b>>>>, )
pub fn add_width(&mut self, width: WIPOffset<Length<'b>>)
pub fn add_height(&mut self, height: WIPOffset<Length<'b>>)
pub fn add_background(&mut self, background: &Color)
pub fn add_document_language(&mut self, document_language: WIPOffset<&'b str>)
pub fn add_text_direction(&mut self, text_direction: TextDirection)
pub fn add_semantic_nodes( &mut self, semantic_nodes: WIPOffset<Vector<'b, ForwardsUOffset<SemanticNode<'b>>>>, )
pub fn add_metadata(&mut self, metadata: WIPOffset<PageMetadata<'b>>)
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> ViewRootBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<ViewRoot<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for ViewRootBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for ViewRootBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for ViewRootBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for ViewRootBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for ViewRootBuilder<'a, 'b, A>
impl<'a, 'b, A> UnsafeUnpin for ViewRootBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for ViewRootBuilder<'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