Struct openxr_sys::ObjectType

source ·
pub struct ObjectType(/* private fields */);
Expand description

Enums to track objects of various types - see XrObjectType

Implementations§

source§

impl ObjectType

source

pub const UNKNOWN: ObjectType = _

source

pub const INSTANCE: ObjectType = _

XrInstance

source

pub const SESSION: ObjectType = _

XrSession

source

pub const SWAPCHAIN: ObjectType = _

XrSwapchain

source

pub const SPACE: ObjectType = _

XrSpace

source

pub const ACTION_SET: ObjectType = _

XrActionSet

source

pub const ACTION: ObjectType = _

XrAction

source

pub const DEBUG_UTILS_MESSENGER_EXT: ObjectType = _

XrDebugUtilsMessengerEXT

source

pub const SPATIAL_ANCHOR_MSFT: ObjectType = _

XrSpatialAnchorMSFT

source

pub const SPATIAL_GRAPH_NODE_BINDING_MSFT: ObjectType = _

XrSpatialGraphNodeBindingMSFT

source

pub const HAND_TRACKER_EXT: ObjectType = _

XrHandTrackerEXT

source

pub const BODY_TRACKER_FB: ObjectType = _

XrBodyTrackerFB

source

pub const SCENE_OBSERVER_MSFT: ObjectType = _

XrSceneObserverMSFT

source

pub const SCENE_MSFT: ObjectType = _

XrSceneMSFT

source

pub const FACIAL_TRACKER_HTC: ObjectType = _

XrFacialTrackerHTC

source

pub const FOVEATION_PROFILE_FB: ObjectType = _

XrFoveationProfileFB

source

pub const TRIANGLE_MESH_FB: ObjectType = _

XrTriangleMeshFB

source

pub const PASSTHROUGH_FB: ObjectType = _

XrPassthroughFB

source

pub const PASSTHROUGH_LAYER_FB: ObjectType = _

XrPassthroughLayerFB

source

pub const GEOMETRY_INSTANCE_FB: ObjectType = _

XrGeometryInstanceFB

source

pub const SPATIAL_ANCHOR_STORE_CONNECTION_MSFT: ObjectType = _

XrSpatialAnchorStoreConnectionMSFT

source

pub const FACE_TRACKER_FB: ObjectType = _

XrFaceTrackerFB

source

pub const EYE_TRACKER_FB: ObjectType = _

XrEyeTrackerFB

source

pub const VIRTUAL_KEYBOARD_META: ObjectType = _

XrVirtualKeyboardMETA

source

pub const SPACE_USER_FB: ObjectType = _

XrSpaceUserFB

source

pub const PASSTHROUGH_COLOR_LUT_META: ObjectType = _

XrPassthroughColorLutMETA

source

pub const PASSTHROUGH_HTC: ObjectType = _

XrPassthroughHTC

source

pub const PLANE_DETECTOR_EXT: ObjectType = _

XrPlaneDetectorEXT

source

pub fn from_raw(x: i32) -> Self

source

pub fn into_raw(self) -> i32

Trait Implementations§

source§

impl Clone for ObjectType

source§

fn clone(&self) -> ObjectType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ObjectType

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for ObjectType

source§

fn eq(&self, other: &ObjectType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for ObjectType

source§

impl Eq for ObjectType

source§

impl StructuralPartialEq for ObjectType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.