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§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)