Struct ash::vk::KhrGetSurfaceCapabilities2Fn
source · [−]pub struct KhrGetSurfaceCapabilities2Fn {
pub get_physical_device_surface_capabilities2_khr: PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR,
pub get_physical_device_surface_formats2_khr: PFN_vkGetPhysicalDeviceSurfaceFormats2KHR,
}
Fields
get_physical_device_surface_capabilities2_khr: PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR
get_physical_device_surface_formats2_khr: PFN_vkGetPhysicalDeviceSurfaceFormats2KHR
Implementations
sourceimpl KhrGetSurfaceCapabilities2Fn
impl KhrGetSurfaceCapabilities2Fn
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn get_physical_device_surface_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR,
p_surface_capabilities: *mut SurfaceCapabilities2KHR
) -> Result
pub unsafe fn get_physical_device_surface_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR,
p_surface_capabilities: *mut SurfaceCapabilities2KHR
) -> Result
sourcepub 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
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
Trait Implementations
sourceimpl Clone for KhrGetSurfaceCapabilities2Fn
impl Clone for KhrGetSurfaceCapabilities2Fn
sourcefn clone(&self) -> KhrGetSurfaceCapabilities2Fn
fn clone(&self) -> KhrGetSurfaceCapabilities2Fn
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 KhrGetSurfaceCapabilities2Fn
impl Sync for KhrGetSurfaceCapabilities2Fn
Auto Trait Implementations
impl RefUnwindSafe for KhrGetSurfaceCapabilities2Fn
impl Unpin for KhrGetSurfaceCapabilities2Fn
impl UnwindSafe for KhrGetSurfaceCapabilities2Fn
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