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