pub enum PointerMode {
Host,
Device,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for PointerMode
impl Clone for PointerMode
Source§fn clone(&self) -> PointerMode
fn clone(&self) -> PointerMode
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 PointerMode
impl Debug for PointerMode
Source§impl Hash for PointerMode
impl Hash for PointerMode
Source§impl PartialEq for PointerMode
impl PartialEq for PointerMode
Source§fn eq(&self, other: &PointerMode) -> bool
fn eq(&self, other: &PointerMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PointerMode
impl Eq for PointerMode
impl StructuralPartialEq for PointerMode
Auto Trait Implementations§
impl Freeze for PointerMode
impl RefUnwindSafe for PointerMode
impl Send for PointerMode
impl Sync for PointerMode
impl Unpin for PointerMode
impl UnsafeUnpin for PointerMode
impl UnwindSafe for PointerMode
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