Struct ash::vk::KhrWaylandSurfaceFn
source · [−]pub struct KhrWaylandSurfaceFn {
pub create_wayland_surface_khr: PFN_vkCreateWaylandSurfaceKHR,
pub get_physical_device_wayland_presentation_support_khr: PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR,
}
Fields
create_wayland_surface_khr: PFN_vkCreateWaylandSurfaceKHR
get_physical_device_wayland_presentation_support_khr: PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR
Implementations
sourceimpl KhrWaylandSurfaceFn
impl KhrWaylandSurfaceFn
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn create_wayland_surface_khr(
&self,
instance: Instance,
p_create_info: *const WaylandSurfaceCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR
) -> Result
pub unsafe fn create_wayland_surface_khr(
&self,
instance: Instance,
p_create_info: *const WaylandSurfaceCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR
) -> Result
sourcepub unsafe fn get_physical_device_wayland_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
display: *mut wl_display
) -> Bool32
pub unsafe fn get_physical_device_wayland_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
display: *mut wl_display
) -> Bool32
Trait Implementations
sourceimpl Clone for KhrWaylandSurfaceFn
impl Clone for KhrWaylandSurfaceFn
sourcefn clone(&self) -> KhrWaylandSurfaceFn
fn clone(&self) -> KhrWaylandSurfaceFn
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 KhrWaylandSurfaceFn
impl Sync for KhrWaylandSurfaceFn
Auto Trait Implementations
impl RefUnwindSafe for KhrWaylandSurfaceFn
impl Unpin for KhrWaylandSurfaceFn
impl UnwindSafe for KhrWaylandSurfaceFn
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