pub struct Modifiers(pub u8);Expand description
Text modifier bitflags stored as a u8.
Combine modifiers with | or Modifiers::insert. Check membership with
Modifiers::contains.
Tuple Fields§
§0: u8Implementations§
Source§impl Modifiers
impl Modifiers
Sourcepub const STRIKETHROUGH: Self
pub const STRIKETHROUGH: Self
Strikethrough text.
Trait Implementations§
Source§impl BitOrAssign for Modifiers
impl BitOrAssign for Modifiers
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreimpl Copy for Modifiers
impl Eq for Modifiers
impl StructuralPartialEq for Modifiers
Auto Trait Implementations§
impl Freeze for Modifiers
impl RefUnwindSafe for Modifiers
impl Send for Modifiers
impl Sync for Modifiers
impl Unpin for Modifiers
impl UnsafeUnpin for Modifiers
impl UnwindSafe for Modifiers
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