pub struct EyedropperState { /* private fields */ }Expand description
What an Eyedropper and an EyedropperArea share, and how a color reaches them: from
the area, or from whoever knows the color under the pointer through pick.
Nothing here can read the screen, so the color always comes from the caller.
Implementations§
Source§impl EyedropperState
impl EyedropperState
Trait Implementations§
Source§impl Clone for EyedropperState
impl Clone for EyedropperState
Source§fn clone(&self) -> EyedropperState
fn clone(&self) -> EyedropperState
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 EyedropperState
impl Debug for EyedropperState
Auto Trait Implementations§
impl !RefUnwindSafe for EyedropperState
impl !Send for EyedropperState
impl !Sync for EyedropperState
impl !UnwindSafe for EyedropperState
impl Freeze for EyedropperState
impl Unpin for EyedropperState
impl UnsafeUnpin for EyedropperState
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