Struct ash::extensions::ext::FullScreenExclusive
source · [−]pub struct FullScreenExclusive { /* private fields */ }
Implementations
sourceimpl FullScreenExclusive
impl FullScreenExclusive
pub fn new(instance: &Instance, device: &Device) -> Self
sourcepub unsafe fn acquire_full_screen_exclusive_mode(
&self,
swapchain: SwapchainKHR
) -> VkResult<()>
pub unsafe fn acquire_full_screen_exclusive_mode(
&self,
swapchain: SwapchainKHR
) -> VkResult<()>
sourcepub unsafe fn get_physical_device_surface_present_modes2(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<Vec<PresentModeKHR>>
pub unsafe fn get_physical_device_surface_present_modes2(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<Vec<PresentModeKHR>>
sourcepub unsafe fn release_full_screen_exclusive_mode(
&self,
swapchain: SwapchainKHR
) -> VkResult<()>
pub unsafe fn release_full_screen_exclusive_mode(
&self,
swapchain: SwapchainKHR
) -> VkResult<()>
sourcepub unsafe fn get_device_group_surface_present_modes2(
&self,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
pub unsafe fn get_device_group_surface_present_modes2(
&self,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
pub fn name() -> &'static CStr
pub fn fp(&self) -> &ExtFullScreenExclusiveFn
pub fn device(&self) -> Device
Trait Implementations
sourceimpl Clone for FullScreenExclusive
impl Clone for FullScreenExclusive
sourcefn clone(&self) -> FullScreenExclusive
fn clone(&self) -> FullScreenExclusive
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for FullScreenExclusive
impl Send for FullScreenExclusive
impl Sync for FullScreenExclusive
impl Unpin for FullScreenExclusive
impl UnwindSafe for FullScreenExclusive
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more