Struct pilka_incremental::ash::VkSurface [−][src]
Fields
surface: SurfaceKHR
surface_loader: Surface
Implementations
impl VkSurface
[src]
pub fn get_capabilities(
&self,
device: &VkDevice
) -> Result<SurfaceCapabilitiesKHR, Result>
[src]
&self,
device: &VkDevice
) -> Result<SurfaceCapabilitiesKHR, Result>
pub fn get_present_modes(
&self,
device: &VkDevice
) -> Result<Vec<PresentModeKHR, Global>, Result>
[src]
&self,
device: &VkDevice
) -> Result<Vec<PresentModeKHR, Global>, Result>
pub fn get_formats(
&self,
device: &VkDevice
) -> Result<Vec<SurfaceFormatKHR, Global>, Result>
[src]
&self,
device: &VkDevice
) -> Result<Vec<SurfaceFormatKHR, Global>, Result>
pub fn get_physical_device_surface_support(
&self,
device: &VkDevice,
queue_family_index: usize
) -> Result<bool, Result>
[src]
&self,
device: &VkDevice,
queue_family_index: usize
) -> Result<bool, Result>
pub fn resolution(&self, device: &VkDevice) -> Result<Extent2D, Result>
[src]
pub fn resolution_slice(&self, device: &VkDevice) -> Result<[f32; 2], Result>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VkSurface
impl Send for VkSurface
impl Sync for VkSurface
impl Unpin for VkSurface
impl UnwindSafe for VkSurface
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,