[][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
) -> 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]

Trait Implementations

impl Clone for Surface[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for Surface

impl Sync for Surface

impl Send for Surface

impl UnwindSafe for Surface

impl RefUnwindSafe for Surface

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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