Struct pilka_dyn::ash::vk::KhrWaylandSurfaceFn [−]
Fields
create_wayland_surface_khr: extern "system" fn(Instance, *const WaylandSurfaceCreateInfoKHR, *const AllocationCallbacks, *mut SurfaceKHR) -> Result
get_physical_device_wayland_presentation_support_khr: extern "system" fn(PhysicalDevice, u32, *mut c_void) -> u32
Implementations
impl KhrWaylandSurfaceFn
impl KhrWaylandSurfaceFn
pub fn load<F>(_f: F) -> KhrWaylandSurfaceFn where
F: FnMut(&CStr) -> *const c_void,
F: FnMut(&CStr) -> *const c_void,
pub unsafe fn create_wayland_surface_khr(
&self,
instance: Instance,
p_create_info: *const WaylandSurfaceCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR
) -> Result
&self,
instance: Instance,
p_create_info: *const WaylandSurfaceCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR
) -> Result
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateWaylandSurfaceKHR.html
pub unsafe fn get_physical_device_wayland_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
display: *mut c_void
) -> u32
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
display: *mut c_void
) -> u32
Trait Implementations
impl Clone for KhrWaylandSurfaceFn
pub fn clone(&self) -> KhrWaylandSurfaceFn
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Send for KhrWaylandSurfaceFn
impl Sync for KhrWaylandSurfaceFn
Auto Trait Implementations
impl RefUnwindSafe for KhrWaylandSurfaceFn
[src]
impl Unpin for KhrWaylandSurfaceFn
[src]
impl UnwindSafe for KhrWaylandSurfaceFn
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,