Struct pilka_dyn::ash::extensions::khr::Win32Surface[]

pub struct Win32Surface { /* fields omitted */ }

Implementations

impl Win32Surface

pub fn new<E, I>(entry: &E, instance: &I) -> Win32Surface where
    E: EntryV1_0,
    I: InstanceV1_0

pub fn name() -> &'static CStr

pub unsafe fn create_win32_surface(
    &self,
    create_info: &Win32SurfaceCreateInfoKHR,
    allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<SurfaceKHR, Result>

pub unsafe fn get_physical_device_win32_presentation_support(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32
) -> bool

<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceWin32PresentationSupportKHR.html

pub fn fp(&self) -> &KhrWin32SurfaceFn

pub fn instance(&self) -> Instance

Trait Implementations

impl Clone for Win32Surface

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.