pub struct TextBuilder<'a> { /* private fields */ }Expand description
Chainable text label.
Implementations§
Source§impl<'a> TextBuilder<'a>
impl<'a> TextBuilder<'a>
Sourcepub fn baseline(self, b: TextBaseline) -> Self
pub fn baseline(self, b: TextBaseline) -> Self
Vertical alignment.
Sourcepub fn overflow(self, o: TextOverflow) -> Self
pub fn overflow(self, o: TextOverflow) -> Self
Overflow policy.
Sourcepub fn settings(self, s: TextSettings) -> Self
pub fn settings(self, s: TextSettings) -> Self
Full settings.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TextBuilder<'a>
impl<'a> !UnwindSafe for TextBuilder<'a>
impl<'a> Forget for TextBuilder<'a>
impl<'a> Freeze for TextBuilder<'a>
impl<'a> Move for TextBuilder<'a>
impl<'a> Send for TextBuilder<'a>
impl<'a> Sync for TextBuilder<'a>
impl<'a> Unpin for TextBuilder<'a>
impl<'a> UnsafeUnpin for TextBuilder<'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