pub struct PointerAppearance {
pub color: [u8; 4],
pub size: f32,
}Expand description
Color and size for one pointer visual style.
Fields§
§color: [u8; 4]Pointer color as RGBA.
size: f32Pointer size in logical pixels.
Trait Implementations§
Source§impl Clone for PointerAppearance
impl Clone for PointerAppearance
Source§fn clone(&self) -> PointerAppearance
fn clone(&self) -> PointerAppearance
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 PointerAppearance
impl Debug for PointerAppearance
Source§impl Default for PointerAppearance
impl Default for PointerAppearance
Source§impl PartialEq for PointerAppearance
impl PartialEq for PointerAppearance
Source§fn eq(&self, other: &PointerAppearance) -> bool
fn eq(&self, other: &PointerAppearance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PointerAppearance
impl StructuralPartialEq for PointerAppearance
Auto Trait Implementations§
impl Freeze for PointerAppearance
impl RefUnwindSafe for PointerAppearance
impl Send for PointerAppearance
impl Sync for PointerAppearance
impl Unpin for PointerAppearance
impl UnsafeUnpin for PointerAppearance
impl UnwindSafe for PointerAppearance
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