pub struct TargetRayMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl TargetRayMode
impl TargetRayMode
pub const UNKNOWN: TargetRayMode
pub const GAZE: TargetRayMode
pub const TRACKED_POINTER: TargetRayMode
pub const SCREEN: TargetRayMode
Trait Implementations§
Source§impl Clone for TargetRayMode
impl Clone for TargetRayMode
Source§fn clone(&self) -> TargetRayMode
fn clone(&self) -> TargetRayMode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TargetRayMode
impl Debug for TargetRayMode
Source§impl From<TargetRayMode> for i64
impl From<TargetRayMode> for i64
Source§fn from(v: TargetRayMode) -> Self
fn from(v: TargetRayMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for TargetRayMode
impl From<i64> for TargetRayMode
Source§impl FromVariant for TargetRayMode
impl FromVariant for TargetRayMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for TargetRayMode
impl Hash for TargetRayMode
Source§impl Ord for TargetRayMode
impl Ord for TargetRayMode
Source§fn cmp(&self, other: &TargetRayMode) -> Ordering
fn cmp(&self, other: &TargetRayMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TargetRayMode
impl PartialEq for TargetRayMode
Source§impl PartialOrd for TargetRayMode
impl PartialOrd for TargetRayMode
impl Copy for TargetRayMode
impl Eq for TargetRayMode
impl StructuralPartialEq for TargetRayMode
Auto Trait Implementations§
impl Freeze for TargetRayMode
impl RefUnwindSafe for TargetRayMode
impl Send for TargetRayMode
impl Sync for TargetRayMode
impl Unpin for TargetRayMode
impl UnwindSafe for TargetRayMode
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.