pub struct TextBlockBuilder { /* private fields */ }
Implementations§
Source§impl TextBlockBuilder
impl TextBlockBuilder
pub fn build(self) -> FormattedMessageComponent
pub fn build_vec(self) -> Vec<FormattedString>
Trait Implementations§
Source§impl Default for TextBlockBuilder
impl Default for TextBlockBuilder
Source§fn default() -> TextBlockBuilder
fn default() -> TextBlockBuilder
Returns the “default value” for a type. Read more
Source§impl FormattedStringAppendable for TextBlockBuilder
impl FormattedStringAppendable for TextBlockBuilder
fn append(&mut self, s: FormattedString) -> &mut Self
fn append_styled<S: ToString>(&mut self, s: S, style: Style) -> &mut Self
fn append_plain<S: ToString>(&mut self, s: S) -> &mut Self
Auto Trait Implementations§
impl Freeze for TextBlockBuilder
impl RefUnwindSafe for TextBlockBuilder
impl Send for TextBlockBuilder
impl Sync for TextBlockBuilder
impl Unpin for TextBlockBuilder
impl UnwindSafe for TextBlockBuilder
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