pub struct TextNodeBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> TextNodeBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> TextNodeBuilder<'a, 'b, A>
pub fn add_node_id(&mut self, node_id: WIPOffset<&'b str>)
pub fn add_content(&mut self, content: WIPOffset<&'b str>)
pub fn add_content_binding( &mut self, content_binding: WIPOffset<DataBinding<'b>>, )
pub fn add_localized_content( &mut self, localized_content: WIPOffset<LocalizedString<'b>>, )
pub fn add_font_family(&mut self, font_family: WIPOffset<&'b str>)
pub fn add_font_size(&mut self, font_size: WIPOffset<Length<'b>>)
pub fn add_font_weight(&mut self, font_weight: FontWeight)
pub fn add_line_height(&mut self, line_height: f32)
pub fn add_letter_spacing(&mut self, letter_spacing: WIPOffset<Length<'b>>)
pub fn add_text_align(&mut self, text_align: TextAlign)
pub fn add_text_overflow(&mut self, text_overflow: TextOverflow)
pub fn add_text_decoration(&mut self, text_decoration: TextDecoration)
pub fn add_max_lines(&mut self, max_lines: i32)
pub fn add_color(&mut self, color: &Color)
pub fn add_opacity(&mut self, opacity: f32)
pub fn add_heading_level(&mut self, heading_level: i8)
pub fn add_semantic_node_id(&mut self, semantic_node_id: WIPOffset<&'b str>)
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> TextNodeBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<TextNode<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for TextNodeBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for TextNodeBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for TextNodeBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for TextNodeBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for TextNodeBuilder<'a, 'b, A>
impl<'a, 'b, A> UnsafeUnpin for TextNodeBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for TextNodeBuilder<'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