pub struct InstanceFunctions {
Show 47 fields pub v1_0: InstanceFnV1_0, pub v1_1: InstanceFnV1_1, pub v1_2: InstanceFnV1_2, pub v1_3: InstanceFnV1_3, pub khr_android_surface: KhrAndroidSurfaceFn, pub khr_device_group: KhrDeviceGroupFn, pub khr_device_group_creation: KhrDeviceGroupCreationFn, pub khr_display: KhrDisplayFn, pub khr_external_fence_capabilities: KhrExternalFenceCapabilitiesFn, pub khr_external_memory_capabilities: KhrExternalMemoryCapabilitiesFn, pub khr_external_semaphore_capabilities: KhrExternalSemaphoreCapabilitiesFn, pub khr_fragment_shading_rate: KhrFragmentShadingRateFn, pub khr_get_display_properties2: KhrGetDisplayProperties2Fn, pub khr_get_physical_device_properties2: KhrGetPhysicalDeviceProperties2Fn, pub khr_get_surface_capabilities2: KhrGetSurfaceCapabilities2Fn, pub khr_performance_query: KhrPerformanceQueryFn, pub khr_surface: KhrSurfaceFn, pub khr_swapchain: KhrSwapchainFn, pub khr_video_queue: KhrVideoQueueFn, pub khr_wayland_surface: KhrWaylandSurfaceFn, pub khr_win32_surface: KhrWin32SurfaceFn, pub khr_xcb_surface: KhrXcbSurfaceFn, pub khr_xlib_surface: KhrXlibSurfaceFn, pub ext_acquire_drm_display: ExtAcquireDrmDisplayFn, pub ext_acquire_xlib_display: ExtAcquireXlibDisplayFn, pub ext_calibrated_timestamps: ExtCalibratedTimestampsFn, pub ext_debug_report: ExtDebugReportFn, pub ext_debug_utils: ExtDebugUtilsFn, pub ext_direct_mode_display: ExtDirectModeDisplayFn, pub ext_directfb_surface: ExtDirectfbSurfaceFn, pub ext_display_surface_counter: ExtDisplaySurfaceCounterFn, pub ext_full_screen_exclusive: ExtFullScreenExclusiveFn, pub ext_headless_surface: ExtHeadlessSurfaceFn, pub ext_metal_surface: ExtMetalSurfaceFn, pub ext_sample_locations: ExtSampleLocationsFn, pub ext_tooling_info: ExtToolingInfoFn, pub fuchsia_imagepipe_surface: FuchsiaImagepipeSurfaceFn, pub ggp_stream_descriptor_surface: GgpStreamDescriptorSurfaceFn, pub mvk_ios_surface: MvkIosSurfaceFn, pub mvk_macos_surface: MvkMacosSurfaceFn, pub nn_vi_surface: NnViSurfaceFn, pub nv_cooperative_matrix: NvCooperativeMatrixFn, pub nv_coverage_reduction_mode: NvCoverageReductionModeFn, pub nv_external_memory_capabilities: NvExternalMemoryCapabilitiesFn, pub nv_optical_flow: NvOpticalFlowFn, pub qnx_screen_surface: QnxScreenSurfaceFn, pub _ne: NonExhaustive,
}
Expand description

Raw Vulkan instance-level functions.

To use these, you need to include the Ash crate, using the same version Vulkano uses.

Fields§

§v1_0: InstanceFnV1_0§v1_1: InstanceFnV1_1§v1_2: InstanceFnV1_2§v1_3: InstanceFnV1_3§khr_android_surface: KhrAndroidSurfaceFn§khr_device_group: KhrDeviceGroupFn§khr_device_group_creation: KhrDeviceGroupCreationFn§khr_display: KhrDisplayFn§khr_external_fence_capabilities: KhrExternalFenceCapabilitiesFn§khr_external_memory_capabilities: KhrExternalMemoryCapabilitiesFn§khr_external_semaphore_capabilities: KhrExternalSemaphoreCapabilitiesFn§khr_fragment_shading_rate: KhrFragmentShadingRateFn§khr_get_display_properties2: KhrGetDisplayProperties2Fn§khr_get_physical_device_properties2: KhrGetPhysicalDeviceProperties2Fn§khr_get_surface_capabilities2: KhrGetSurfaceCapabilities2Fn§khr_performance_query: KhrPerformanceQueryFn§khr_surface: KhrSurfaceFn§khr_swapchain: KhrSwapchainFn§khr_video_queue: KhrVideoQueueFn§khr_wayland_surface: KhrWaylandSurfaceFn§khr_win32_surface: KhrWin32SurfaceFn§khr_xcb_surface: KhrXcbSurfaceFn§khr_xlib_surface: KhrXlibSurfaceFn§ext_acquire_drm_display: ExtAcquireDrmDisplayFn§ext_acquire_xlib_display: ExtAcquireXlibDisplayFn§ext_calibrated_timestamps: ExtCalibratedTimestampsFn§ext_debug_report: ExtDebugReportFn§ext_debug_utils: ExtDebugUtilsFn§ext_direct_mode_display: ExtDirectModeDisplayFn§ext_directfb_surface: ExtDirectfbSurfaceFn§ext_display_surface_counter: ExtDisplaySurfaceCounterFn§ext_full_screen_exclusive: ExtFullScreenExclusiveFn§ext_headless_surface: ExtHeadlessSurfaceFn§ext_metal_surface: ExtMetalSurfaceFn§ext_sample_locations: ExtSampleLocationsFn§ext_tooling_info: ExtToolingInfoFn§fuchsia_imagepipe_surface: FuchsiaImagepipeSurfaceFn§ggp_stream_descriptor_surface: GgpStreamDescriptorSurfaceFn§mvk_ios_surface: MvkIosSurfaceFn§mvk_macos_surface: MvkMacosSurfaceFn§nn_vi_surface: NnViSurfaceFn§nv_cooperative_matrix: NvCooperativeMatrixFn§nv_coverage_reduction_mode: NvCoverageReductionModeFn§nv_external_memory_capabilities: NvExternalMemoryCapabilitiesFn§nv_optical_flow: NvOpticalFlowFn§qnx_screen_surface: QnxScreenSurfaceFn§_ne: NonExhaustive

Trait Implementations§

source§

impl Debug for InstanceFunctions

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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, U> TryFrom<U> for Twhere 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 Twhere 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.