pub struct ThemeNodeBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> ThemeNodeBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> ThemeNodeBuilder<'a, 'b, A>
pub fn add_node_id(&mut self, node_id: WIPOffset<&'b str>)
pub fn add_name(&mut self, name: WIPOffset<&'b str>)
pub fn add_colors(&mut self, colors: WIPOffset<ColorPalette<'b>>)
pub fn add_typography(&mut self, typography: WIPOffset<TypographyScale<'b>>)
pub fn add_spacing(&mut self, spacing: WIPOffset<SpacingScale<'b>>)
pub fn add_shadows(&mut self, shadows: WIPOffset<ShadowScale<'b>>)
pub fn add_radii(&mut self, radii: WIPOffset<RadiusScale<'b>>)
pub fn add_transition_duration( &mut self, transition_duration: WIPOffset<Duration<'b>>, )
pub fn add_transition_easing( &mut self, transition_easing: WIPOffset<Easing<'b>>, )
pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, ) -> ThemeNodeBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<ThemeNode<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for ThemeNodeBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for ThemeNodeBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for ThemeNodeBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for ThemeNodeBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for ThemeNodeBuilder<'a, 'b, A>
impl<'a, 'b, A> UnsafeUnpin for ThemeNodeBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for ThemeNodeBuilder<'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