#[repr(u8)]pub enum PointerCaptureMode {
Capture = 0,
Passthrough = 1,
}Expand description
Specifies how pointer capture should behave for floating elements.
Variants§
Trait Implementations§
Source§impl Clone for PointerCaptureMode
impl Clone for PointerCaptureMode
Source§fn clone(&self) -> PointerCaptureMode
fn clone(&self) -> PointerCaptureMode
Returns a duplicate of the value. Read more
1.0.0 · 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 PointerCaptureMode
impl Debug for PointerCaptureMode
Source§impl Default for PointerCaptureMode
impl Default for PointerCaptureMode
Source§fn default() -> PointerCaptureMode
fn default() -> PointerCaptureMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for PointerCaptureMode
impl PartialEq for PointerCaptureMode
impl Copy for PointerCaptureMode
impl Eq for PointerCaptureMode
impl StructuralPartialEq for PointerCaptureMode
Auto Trait Implementations§
impl Freeze for PointerCaptureMode
impl RefUnwindSafe for PointerCaptureMode
impl Send for PointerCaptureMode
impl Sync for PointerCaptureMode
impl Unpin for PointerCaptureMode
impl UnsafeUnpin for PointerCaptureMode
impl UnwindSafe for PointerCaptureMode
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.