[][src]Struct ash::extensions::khr::Surface

pub struct Surface { /* fields omitted */ }

Methods

impl Surface[src]

pub fn new<E: EntryV1_0, I: InstanceV1_0>(entry: &E, instance: &I) -> Surface[src]

pub fn name() -> &'static CStr[src]

pub unsafe fn get_physical_device_surface_support(
    &self,
    physical_device: PhysicalDevice,
    queue_index: u32,
    surface: SurfaceKHR
) -> VkResult<bool>
[src]

pub unsafe fn get_physical_device_surface_present_modes(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR
) -> VkResult<Vec<PresentModeKHR>>
[src]

pub unsafe fn get_physical_device_surface_capabilities(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR
) -> VkResult<SurfaceCapabilitiesKHR>
[src]

pub unsafe fn get_physical_device_surface_formats(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR
) -> VkResult<Vec<SurfaceFormatKHR>>
[src]

pub unsafe fn destroy_surface(
    &self,
    surface: SurfaceKHR,
    allocation_callbacks: Option<&AllocationCallbacks>
)
[src]

pub fn fp(&self) -> &KhrSurfaceFn[src]

pub fn instance(&self) -> Instance[src]

Trait Implementations

impl Clone for Surface[src]

Auto Trait Implementations

impl RefUnwindSafe for Surface

impl Send for Surface

impl Sync for Surface

impl Unpin for Surface

impl UnwindSafe for Surface

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.