pub enum CaptureSource {
Explicit,
Implicit,
Platform,
}Expand description
What requested a change of pointer capture.
Variants§
Explicit
The capture was requested by application code.
Implicit
The capture was taken or released by the input system, e.g. when a pointer is pressed on or released from an element.
Platform
The capture changed in the platform.
Trait Implementations§
Source§impl Clone for CaptureSource
impl Clone for CaptureSource
impl Copy for CaptureSource
Source§impl Debug for CaptureSource
impl Debug for CaptureSource
impl Eq for CaptureSource
Source§impl Hash for CaptureSource
impl Hash for CaptureSource
Source§impl PartialEq for CaptureSource
impl PartialEq for CaptureSource
impl StructuralPartialEq for CaptureSource
Auto Trait Implementations§
impl Freeze for CaptureSource
impl RefUnwindSafe for CaptureSource
impl Send for CaptureSource
impl Sync for CaptureSource
impl Unpin for CaptureSource
impl UnsafeUnpin for CaptureSource
impl UnwindSafe for CaptureSource
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more