Struct godot::engine::xr_server::TrackerType
pub struct TrackerType { /* private fields */ }
Implementations§
§impl TrackerType
impl TrackerType
pub const HEAD: TrackerType = _
pub const HEAD: TrackerType = _
Godot enumerator name: TRACKER_HEAD
pub const CONTROLLER: TrackerType = _
pub const CONTROLLER: TrackerType = _
Godot enumerator name: TRACKER_CONTROLLER
pub const BASESTATION: TrackerType = _
pub const BASESTATION: TrackerType = _
Godot enumerator name: TRACKER_BASESTATION
pub const ANCHOR: TrackerType = _
pub const ANCHOR: TrackerType = _
Godot enumerator name: TRACKER_ANCHOR
pub const HAND: TrackerType = _
pub const HAND: TrackerType = _
Godot enumerator name: TRACKER_HAND
pub const BODY: TrackerType = _
pub const BODY: TrackerType = _
Godot enumerator name: TRACKER_BODY
pub const FACE: TrackerType = _
pub const FACE: TrackerType = _
Godot enumerator name: TRACKER_FACE
pub const ANY_KNOWN: TrackerType = _
pub const ANY_KNOWN: TrackerType = _
Godot enumerator name: TRACKER_ANY_KNOWN
pub const UNKNOWN: TrackerType = _
pub const UNKNOWN: TrackerType = _
Godot enumerator name: TRACKER_UNKNOWN
pub const ANY: TrackerType = _
pub const ANY: TrackerType = _
Godot enumerator name: TRACKER_ANY
Trait Implementations§
§impl Clone for TrackerType
impl Clone for TrackerType
§fn clone(&self) -> TrackerType
fn clone(&self) -> TrackerType
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 more§impl Debug for TrackerType
impl Debug for TrackerType
§impl EngineEnum for TrackerType
impl EngineEnum for TrackerType
§impl FromGodot for TrackerType
impl FromGodot for TrackerType
§fn try_from_godot(
via: <TrackerType as GodotConvert>::Via
) -> Result<TrackerType, ConvertError>
fn try_from_godot( via: <TrackerType as GodotConvert>::Via ) -> Result<TrackerType, ConvertError>
Performs the conversion.
§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Performs the conversion. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for TrackerType
impl GodotConvert for TrackerType
§impl Hash for TrackerType
impl Hash for TrackerType
§impl PartialEq for TrackerType
impl PartialEq for TrackerType
§fn eq(&self, other: &TrackerType) -> bool
fn eq(&self, other: &TrackerType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for TrackerType
impl ToGodot for TrackerType
§fn to_godot(&self) -> <TrackerType as GodotConvert>::Via
fn to_godot(&self) -> <TrackerType as GodotConvert>::Via
Converts this type to the Godot type by reference, usually by cloning.
§fn into_godot(self) -> Self::Via
fn into_godot(self) -> Self::Via
Converts this type to the Godot type. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for TrackerType
impl Eq for TrackerType
impl StructuralPartialEq for TrackerType
Auto Trait Implementations§
impl Freeze for TrackerType
impl RefUnwindSafe for TrackerType
impl Send for TrackerType
impl Sync for TrackerType
impl Unpin for TrackerType
impl UnwindSafe for TrackerType
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