#[repr(transparent)]pub struct Strikethrough(pub bool);Expand description
Keyless style! property wrapper enabling or disabling text strikethrough decoration.
Tuple Fields§
§0: boolTrait Implementations§
Source§impl Clone for Strikethrough
impl Clone for Strikethrough
impl Copy for Strikethrough
Source§impl Debug for Strikethrough
impl Debug for Strikethrough
Source§impl Default for Strikethrough
impl Default for Strikethrough
impl Eq for Strikethrough
Source§impl Hash for Strikethrough
impl Hash for Strikethrough
Source§impl PartialEq for Strikethrough
impl PartialEq for Strikethrough
impl StructuralPartialEq for Strikethrough
Source§impl StyleApply for Strikethrough
StyleApply implementation for Strikethrough.
impl StyleApply for Strikethrough
StyleApply implementation for Strikethrough.
Source§fn apply_in_place(self, style: &mut Style)
fn apply_in_place(self, style: &mut Style)
Applies Strikethrough directly in place onto style.
§Arguments
Self- Strikethrough decoration wrapper.&mut Style- Style accumulator mutated in place.
Auto Trait Implementations§
impl Forget for Strikethrough
impl Freeze for Strikethrough
impl Move for Strikethrough
impl RefUnwindSafe for Strikethrough
impl Send for Strikethrough
impl Sync for Strikethrough
impl Unpin for Strikethrough
impl UnsafeUnpin for Strikethrough
impl UnwindSafe for Strikethrough
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