pub enum FormattedMessageComponent {
Section(String, Vec<FormattedString>),
Text(Vec<FormattedString>),
}Variants§
Section(String, Vec<FormattedString>)
Text(Vec<FormattedString>)
Trait Implementations§
Source§impl Clone for FormattedMessageComponent
impl Clone for FormattedMessageComponent
Source§fn clone(&self) -> FormattedMessageComponent
fn clone(&self) -> FormattedMessageComponent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormattedMessageComponent
impl Debug for FormattedMessageComponent
impl StructuralPartialEq for FormattedMessageComponent
Auto Trait Implementations§
impl Freeze for FormattedMessageComponent
impl RefUnwindSafe for FormattedMessageComponent
impl Send for FormattedMessageComponent
impl Sync for FormattedMessageComponent
impl Unpin for FormattedMessageComponent
impl UnwindSafe for FormattedMessageComponent
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