Struct ash::extensions::khr::Win32Surface
source · pub struct Win32Surface { /* private fields */ }
Implementations§
source§impl Win32Surface
impl Win32Surface
pub fn new(entry: &Entry, instance: &Instance) -> Self
sourcepub unsafe fn create_win32_surface(
&self,
create_info: &Win32SurfaceCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
pub unsafe fn create_win32_surface( &self, create_info: &Win32SurfaceCreateInfoKHR, allocation_callbacks: Option<&AllocationCallbacks> ) -> VkResult<SurfaceKHR>
sourcepub unsafe fn get_physical_device_win32_presentation_support(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> bool
pub unsafe fn get_physical_device_win32_presentation_support( &self, physical_device: PhysicalDevice, queue_family_index: u32 ) -> bool
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrWin32SurfaceFn
pub fn instance(&self) -> Instance
Trait Implementations§
source§impl Clone for Win32Surface
impl Clone for Win32Surface
source§fn clone(&self) -> Win32Surface
fn clone(&self) -> Win32Surface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for Win32Surface
impl Send for Win32Surface
impl Sync for Win32Surface
impl Unpin for Win32Surface
impl UnwindSafe for Win32Surface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more