pub enum FormattedMessageComponent {
Section(String, Vec<FormattedString>),
Text(Vec<FormattedString>),
}Variants
Section(String, Vec<FormattedString>)
Text(Vec<FormattedString>)
Trait Implementations
sourceimpl Clone for FormattedMessageComponent
impl Clone for FormattedMessageComponent
sourcefn clone(&self) -> FormattedMessageComponent
fn clone(&self) -> FormattedMessageComponent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for FormattedMessageComponent
impl Debug for FormattedMessageComponent
sourceimpl PartialEq<FormattedMessageComponent> for FormattedMessageComponent
impl PartialEq<FormattedMessageComponent> for FormattedMessageComponent
sourcefn eq(&self, other: &FormattedMessageComponent) -> bool
fn eq(&self, other: &FormattedMessageComponent) -> bool
impl StructuralPartialEq for FormattedMessageComponent
Auto Trait Implementations
impl RefUnwindSafe for FormattedMessageComponent
impl Send for FormattedMessageComponent
impl Sync for FormattedMessageComponent
impl Unpin for FormattedMessageComponent
impl UnwindSafe for FormattedMessageComponent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more