Struct openxr::raw::Instance

source ·
pub struct Instance {
Show 55 fields pub get_instance_proc_addr: GetInstanceProcAddr, pub enumerate_api_layer_properties: EnumerateApiLayerProperties, pub enumerate_instance_extension_properties: EnumerateInstanceExtensionProperties, pub create_instance: CreateInstance, pub destroy_instance: DestroyInstance, pub result_to_string: ResultToString, pub structure_type_to_string: StructureTypeToString, pub get_instance_properties: GetInstanceProperties, pub get_system: GetSystem, pub get_system_properties: GetSystemProperties, pub create_session: CreateSession, pub destroy_session: DestroySession, pub destroy_space: DestroySpace, pub enumerate_swapchain_formats: EnumerateSwapchainFormats, pub create_swapchain: CreateSwapchain, pub destroy_swapchain: DestroySwapchain, pub enumerate_swapchain_images: EnumerateSwapchainImages, pub acquire_swapchain_image: AcquireSwapchainImage, pub wait_swapchain_image: WaitSwapchainImage, pub release_swapchain_image: ReleaseSwapchainImage, pub begin_session: BeginSession, pub end_session: EndSession, pub request_exit_session: RequestExitSession, pub enumerate_reference_spaces: EnumerateReferenceSpaces, pub create_reference_space: CreateReferenceSpace, pub create_action_space: CreateActionSpace, pub locate_space: LocateSpace, pub enumerate_view_configurations: EnumerateViewConfigurations, pub enumerate_environment_blend_modes: EnumerateEnvironmentBlendModes, pub get_view_configuration_properties: GetViewConfigurationProperties, pub enumerate_view_configuration_views: EnumerateViewConfigurationViews, pub begin_frame: BeginFrame, pub locate_views: LocateViews, pub end_frame: EndFrame, pub wait_frame: WaitFrame, pub apply_haptic_feedback: ApplyHapticFeedback, pub stop_haptic_feedback: StopHapticFeedback, pub poll_event: PollEvent, pub string_to_path: StringToPath, pub path_to_string: PathToString, pub get_reference_space_bounds_rect: GetReferenceSpaceBoundsRect, pub get_action_state_boolean: GetActionStateBoolean, pub get_action_state_float: GetActionStateFloat, pub get_action_state_vector2f: GetActionStateVector2f, pub get_action_state_pose: GetActionStatePose, pub create_action_set: CreateActionSet, pub destroy_action_set: DestroyActionSet, pub create_action: CreateAction, pub destroy_action: DestroyAction, pub suggest_interaction_profile_bindings: SuggestInteractionProfileBindings, pub attach_session_action_sets: AttachSessionActionSets, pub get_current_interaction_profile: GetCurrentInteractionProfile, pub sync_actions: SyncActions, pub enumerate_bound_sources_for_action: EnumerateBoundSourcesForAction, pub get_input_source_localized_name: GetInputSourceLocalizedName,
}

Fields§

§get_instance_proc_addr: GetInstanceProcAddr§enumerate_api_layer_properties: EnumerateApiLayerProperties§enumerate_instance_extension_properties: EnumerateInstanceExtensionProperties§create_instance: CreateInstance§destroy_instance: DestroyInstance§result_to_string: ResultToString§structure_type_to_string: StructureTypeToString§get_instance_properties: GetInstanceProperties§get_system: GetSystem§get_system_properties: GetSystemProperties§create_session: CreateSession§destroy_session: DestroySession§destroy_space: DestroySpace§enumerate_swapchain_formats: EnumerateSwapchainFormats§create_swapchain: CreateSwapchain§destroy_swapchain: DestroySwapchain§enumerate_swapchain_images: EnumerateSwapchainImages§acquire_swapchain_image: AcquireSwapchainImage§wait_swapchain_image: WaitSwapchainImage§release_swapchain_image: ReleaseSwapchainImage§begin_session: BeginSession§end_session: EndSession§request_exit_session: RequestExitSession§enumerate_reference_spaces: EnumerateReferenceSpaces§create_reference_space: CreateReferenceSpace§create_action_space: CreateActionSpace§locate_space: LocateSpace§enumerate_view_configurations: EnumerateViewConfigurations§enumerate_environment_blend_modes: EnumerateEnvironmentBlendModes§get_view_configuration_properties: GetViewConfigurationProperties§enumerate_view_configuration_views: EnumerateViewConfigurationViews§begin_frame: BeginFrame§locate_views: LocateViews§end_frame: EndFrame§wait_frame: WaitFrame§apply_haptic_feedback: ApplyHapticFeedback§stop_haptic_feedback: StopHapticFeedback§poll_event: PollEvent§string_to_path: StringToPath§path_to_string: PathToString§get_reference_space_bounds_rect: GetReferenceSpaceBoundsRect§get_action_state_boolean: GetActionStateBoolean§get_action_state_float: GetActionStateFloat§get_action_state_vector2f: GetActionStateVector2f§get_action_state_pose: GetActionStatePose§create_action_set: CreateActionSet§destroy_action_set: DestroyActionSet§create_action: CreateAction§destroy_action: DestroyAction§suggest_interaction_profile_bindings: SuggestInteractionProfileBindings§attach_session_action_sets: AttachSessionActionSets§get_current_interaction_profile: GetCurrentInteractionProfile§sync_actions: SyncActions§enumerate_bound_sources_for_action: EnumerateBoundSourcesForAction§get_input_source_localized_name: GetInputSourceLocalizedName

Implementations§

source§

impl Instance

source

pub unsafe fn load(entry: &Entry, instance: Instance) -> Result<Self>

Load the core function pointer table

§Safety

instance must be a valid instance handle.

Trait Implementations§

source§

impl Clone for Instance

source§

fn clone(&self) -> Instance

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 Copy for Instance

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.