pub struct SectionBuilder { /* private fields */ }
Implementations§
Source§impl SectionBuilder
impl SectionBuilder
pub fn build(self) -> FormattedMessageComponent
Trait Implementations§
Source§impl FormattedStringAppendable for SectionBuilder
impl FormattedStringAppendable for SectionBuilder
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 SectionBuilder
impl RefUnwindSafe for SectionBuilder
impl Send for SectionBuilder
impl Sync for SectionBuilder
impl Unpin for SectionBuilder
impl UnwindSafe for SectionBuilder
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