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