Struct pilka_incremental::ash::VkSurface[][src]

pub struct VkSurface {
    pub surface: SurfaceKHR,
    pub surface_loader: Surface,
}

Fields

surface: SurfaceKHRsurface_loader: Surface

Implementations

impl VkSurface[src]

pub fn get_capabilities(
    &self,
    device: &VkDevice
) -> Result<SurfaceCapabilitiesKHR, Result>
[src]

pub fn get_present_modes(
    &self,
    device: &VkDevice
) -> Result<Vec<PresentModeKHR, Global>, Result>
[src]

pub fn get_formats(
    &self,
    device: &VkDevice
) -> Result<Vec<SurfaceFormatKHR, Global>, Result>
[src]

pub fn get_physical_device_surface_support(
    &self,
    device: &VkDevice,
    queue_family_index: usize
) -> Result<bool, Result>
[src]

pub fn resolution(&self, device: &VkDevice) -> Result<Extent2D, Result>[src]

pub fn resolution_slice(&self, device: &VkDevice) -> Result<[f32; 2], Result>[src]

Trait Implementations

impl Drop for VkSurface[src]

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, 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.