[][src]Struct ash::vk::KhrGetSurfaceCapabilities2Fn

pub struct KhrGetSurfaceCapabilities2Fn {
    pub get_physical_device_surface_capabilities2_khr: extern "system" fn(physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR, p_surface_capabilities: *mut SurfaceCapabilities2KHR) -> Result,
    pub get_physical_device_surface_formats2_khr: extern "system" fn(physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR, p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormat2KHR) -> Result,
}

Fields

get_physical_device_surface_capabilities2_khr: extern "system" fn(physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR, p_surface_capabilities: *mut SurfaceCapabilities2KHR) -> Resultget_physical_device_surface_formats2_khr: extern "system" fn(physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR, p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormat2KHR) -> Result

Methods

impl KhrGetSurfaceCapabilities2Fn[src]

pub fn name() -> &'static CStr[src]

impl KhrGetSurfaceCapabilities2Fn[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn get_physical_device_surface_capabilities2_khr(
    &self,
    physical_device: PhysicalDevice,
    p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR,
    p_surface_capabilities: *mut SurfaceCapabilities2KHR
) -> Result
[src]

pub unsafe fn get_physical_device_surface_formats2_khr(
    &self,
    physical_device: PhysicalDevice,
    p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR,
    p_surface_format_count: *mut u32,
    p_surface_formats: *mut SurfaceFormat2KHR
) -> Result
[src]

Trait Implementations

impl Sync for KhrGetSurfaceCapabilities2Fn[src]

impl Clone for KhrGetSurfaceCapabilities2Fn[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Send for KhrGetSurfaceCapabilities2Fn[src]

Auto Trait Implementations

impl Unpin for KhrGetSurfaceCapabilities2Fn

impl UnwindSafe for KhrGetSurfaceCapabilities2Fn

impl RefUnwindSafe for KhrGetSurfaceCapabilities2Fn

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]