[][src]Struct ash::vk::KhrSurfaceFn

pub struct KhrSurfaceFn {
    pub destroy_surface_khr: extern "system" fn(instance: Instance, surface: SurfaceKHR, p_allocator: *const AllocationCallbacks) -> c_void,
    pub get_physical_device_surface_support_khr: extern "system" fn(physical_device: PhysicalDevice, queue_family_index: u32, surface: SurfaceKHR, p_supported: *mut Bool32) -> Result,
    pub get_physical_device_surface_capabilities_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_capabilities: *mut SurfaceCapabilitiesKHR) -> Result,
    pub get_physical_device_surface_formats_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormatKHR) -> Result,
    pub get_physical_device_surface_present_modes_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_present_mode_count: *mut u32, p_present_modes: *mut PresentModeKHR) -> Result,
}

Fields

destroy_surface_khr: extern "system" fn(instance: Instance, surface: SurfaceKHR, p_allocator: *const AllocationCallbacks) -> c_voidget_physical_device_surface_support_khr: extern "system" fn(physical_device: PhysicalDevice, queue_family_index: u32, surface: SurfaceKHR, p_supported: *mut Bool32) -> Resultget_physical_device_surface_capabilities_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_capabilities: *mut SurfaceCapabilitiesKHR) -> Resultget_physical_device_surface_formats_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormatKHR) -> Resultget_physical_device_surface_present_modes_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_present_mode_count: *mut u32, p_present_modes: *mut PresentModeKHR) -> Result

Methods

impl KhrSurfaceFn[src]

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

impl KhrSurfaceFn[src]

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

pub unsafe fn destroy_surface_khr(
    &self,
    instance: Instance,
    surface: SurfaceKHR,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

pub unsafe fn get_physical_device_surface_support_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32,
    surface: SurfaceKHR,
    p_supported: *mut Bool32
) -> Result
[src]

pub unsafe fn get_physical_device_surface_capabilities_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    p_surface_capabilities: *mut SurfaceCapabilitiesKHR
) -> Result
[src]

pub unsafe fn get_physical_device_surface_formats_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    p_surface_format_count: *mut u32,
    p_surface_formats: *mut SurfaceFormatKHR
) -> Result
[src]

pub unsafe fn get_physical_device_surface_present_modes_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    p_present_mode_count: *mut u32,
    p_present_modes: *mut PresentModeKHR
) -> Result
[src]

Trait Implementations

impl Sync for KhrSurfaceFn[src]

impl Clone for KhrSurfaceFn[src]

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

Performs copy-assignment from source. Read more

impl Send for KhrSurfaceFn[src]

Auto Trait Implementations

impl Unpin for KhrSurfaceFn

impl UnwindSafe for KhrSurfaceFn

impl RefUnwindSafe for KhrSurfaceFn

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]