pub struct TextSelectionColors {
pub handle_color: Color,
pub background_color: Color,
}Expand description
The colors that show selected text: the handles that drag the ends of a
selection, and the highlight behind the selected text. Compose’s
TextSelectionColors.
Fields§
§handle_color: ColorThe color of the handles at the ends of a selection.
background_color: ColorThe color drawn behind selected text.
Trait Implementations§
Source§impl Clone for TextSelectionColors
impl Clone for TextSelectionColors
impl Copy for TextSelectionColors
Source§impl Debug for TextSelectionColors
impl Debug for TextSelectionColors
Source§impl Default for TextSelectionColors
impl Default for TextSelectionColors
Source§impl PartialEq for TextSelectionColors
impl PartialEq for TextSelectionColors
impl StructuralPartialEq for TextSelectionColors
Auto Trait Implementations§
impl Forget for TextSelectionColors
impl Freeze for TextSelectionColors
impl Move for TextSelectionColors
impl RefUnwindSafe for TextSelectionColors
impl Send for TextSelectionColors
impl Sync for TextSelectionColors
impl Unpin for TextSelectionColors
impl UnsafeUnpin for TextSelectionColors
impl UnwindSafe for TextSelectionColors
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more