pub struct Effects {
pub is_bold: bool,
pub is_italic: bool,
pub is_underline: bool,
pub is_strikethrough: bool,
}
Expand description
A set of text effects.
Fields§
§is_bold: bool
Whether the bold text effect is set.
is_italic: bool
Whether the italic text effect is set.
is_underline: bool
Whether the underline text effect is set.
is_strikethrough: bool
Whether the strikethrough text effect is set.
Implementations§
Trait Implementations§
Source§impl From<Effects> for Attributes
impl From<Effects> for Attributes
Source§fn from(effects: Effects) -> Attributes
fn from(effects: Effects) -> Attributes
Converts to this type from the input type.
Source§impl From<Effects> for EffectsIter
impl From<Effects> for EffectsIter
Source§impl FromIterator<Effect> for Effects
impl FromIterator<Effect> for Effects
Source§impl IntoIterator for Effects
impl IntoIterator for Effects
impl Copy for Effects
impl StructuralPartialEq for Effects
Auto Trait Implementations§
impl Freeze for Effects
impl RefUnwindSafe for Effects
impl Send for Effects
impl Sync for Effects
impl Unpin for Effects
impl UnwindSafe for Effects
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