Struct ash::vk::KhrWin32SurfaceFn
source · [−]pub struct KhrWin32SurfaceFn {
pub create_win32_surface_khr: PFN_vkCreateWin32SurfaceKHR,
pub get_physical_device_win32_presentation_support_khr: PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR,
}Fields
create_win32_surface_khr: PFN_vkCreateWin32SurfaceKHRget_physical_device_win32_presentation_support_khr: PFN_vkGetPhysicalDeviceWin32PresentationSupportKHRImplementations
sourceimpl KhrWin32SurfaceFn
impl KhrWin32SurfaceFn
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn create_win32_surface_khr(
&self,
instance: Instance,
p_create_info: *const Win32SurfaceCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR
) -> Result
pub unsafe fn create_win32_surface_khr(
&self,
instance: Instance,
p_create_info: *const Win32SurfaceCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR
) -> Result
sourcepub unsafe fn get_physical_device_win32_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> Bool32
pub unsafe fn get_physical_device_win32_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> Bool32
Trait Implementations
sourceimpl Clone for KhrWin32SurfaceFn
impl Clone for KhrWin32SurfaceFn
sourcefn clone(&self) -> KhrWin32SurfaceFn
fn clone(&self) -> KhrWin32SurfaceFn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Send for KhrWin32SurfaceFn
impl Sync for KhrWin32SurfaceFn
Auto Trait Implementations
impl RefUnwindSafe for KhrWin32SurfaceFn
impl Unpin for KhrWin32SurfaceFn
impl UnwindSafe for KhrWin32SurfaceFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more