[−][src]Struct ash::extensions::khr::Surface
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]
&self,
physical_device: PhysicalDevice,
queue_index: u32,
surface: SurfaceKHR
) -> VkResult<bool>
pub unsafe fn get_physical_device_surface_present_modes(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<PresentModeKHR>>
[src]
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<PresentModeKHR>>
pub unsafe fn get_physical_device_surface_capabilities(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<SurfaceCapabilitiesKHR>
[src]
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<SurfaceCapabilitiesKHR>
pub unsafe fn get_physical_device_surface_formats(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<SurfaceFormatKHR>>
[src]
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<SurfaceFormatKHR>>
pub unsafe fn destroy_surface(
&self,
surface: SurfaceKHR,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
surface: SurfaceKHR,
allocation_callbacks: Option<&AllocationCallbacks>
)
pub fn fp(&self) -> &KhrSurfaceFn
[src]
pub fn instance(&self) -> Instance
[src]
Trait Implementations
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]
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,