pub struct PointerAppearances {
pub dot: PointerAppearance,
pub crosshair: PointerAppearance,
pub arrow: PointerAppearance,
pub ring: PointerAppearance,
pub bullseye: PointerAppearance,
pub highlight: PointerAppearance,
}Expand description
Per-style pointer appearance settings.
Fields§
§dot: PointerAppearanceAppearance for the dot pointer.
crosshair: PointerAppearanceAppearance for the crosshair pointer.
arrow: PointerAppearanceAppearance for the arrow pointer.
ring: PointerAppearanceAppearance for the ring pointer.
bullseye: PointerAppearanceAppearance for the bullseye pointer.
highlight: PointerAppearanceAppearance for the highlight pointer.
Implementations§
Source§impl PointerAppearances
impl PointerAppearances
Sourcepub fn for_style(&self, style: PointerStyle) -> PointerAppearance
pub fn for_style(&self, style: PointerStyle) -> PointerAppearance
Return the appearance for a pointer style.
Trait Implementations§
Source§impl Clone for PointerAppearances
impl Clone for PointerAppearances
Source§fn clone(&self) -> PointerAppearances
fn clone(&self) -> PointerAppearances
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointerAppearances
impl Debug for PointerAppearances
Source§impl Default for PointerAppearances
impl Default for PointerAppearances
Source§impl PartialEq for PointerAppearances
impl PartialEq for PointerAppearances
Source§fn eq(&self, other: &PointerAppearances) -> bool
fn eq(&self, other: &PointerAppearances) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PointerAppearances
impl StructuralPartialEq for PointerAppearances
Auto Trait Implementations§
impl Freeze for PointerAppearances
impl RefUnwindSafe for PointerAppearances
impl Send for PointerAppearances
impl Sync for PointerAppearances
impl Unpin for PointerAppearances
impl UnsafeUnpin for PointerAppearances
impl UnwindSafe for PointerAppearances
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