Struct gdnative_bindings::web_xr_interface::TargetRayMode
source · pub struct TargetRayMode(pub i64);Tuple Fields§
§0: i64Implementations§
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 copy 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 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<TargetRayMode> for TargetRayMode
impl PartialEq<TargetRayMode> for TargetRayMode
source§fn eq(&self, other: &TargetRayMode) -> bool
fn eq(&self, other: &TargetRayMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<TargetRayMode> for TargetRayMode
impl PartialOrd<TargetRayMode> for TargetRayMode
source§fn partial_cmp(&self, other: &TargetRayMode) -> Option<Ordering>
fn partial_cmp(&self, other: &TargetRayMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for TargetRayMode
impl Eq for TargetRayMode
impl StructuralEq for TargetRayMode
impl StructuralPartialEq for TargetRayMode
Auto Trait Implementations§
impl RefUnwindSafe for TargetRayMode
impl Send for TargetRayMode
impl Sync for TargetRayMode
impl Unpin for TargetRayMode
impl UnwindSafe for TargetRayMode
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.