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