#[non_exhaustive]#[repr(u32)]pub enum VkDisplayPowerStateEXT {
VK_DISPLAY_POWER_STATE_OFF_EXT = 0,
VK_DISPLAY_POWER_STATE_SUSPEND_EXT = 1,
VK_DISPLAY_POWER_STATE_ON_EXT = 2,
VK_DISPLAY_POWER_STATE_MAX_ENUM_EXT = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VK_DISPLAY_POWER_STATE_OFF_EXT = 0
VK_DISPLAY_POWER_STATE_SUSPEND_EXT = 1
VK_DISPLAY_POWER_STATE_ON_EXT = 2
VK_DISPLAY_POWER_STATE_MAX_ENUM_EXT = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkDisplayPowerStateEXT
impl Clone for VkDisplayPowerStateEXT
Source§fn clone(&self) -> VkDisplayPowerStateEXT
fn clone(&self) -> VkDisplayPowerStateEXT
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkDisplayPowerStateEXT
impl Debug for VkDisplayPowerStateEXT
Source§impl Hash for VkDisplayPowerStateEXT
impl Hash for VkDisplayPowerStateEXT
Source§impl PartialEq for VkDisplayPowerStateEXT
impl PartialEq for VkDisplayPowerStateEXT
impl Copy for VkDisplayPowerStateEXT
impl Eq for VkDisplayPowerStateEXT
impl StructuralPartialEq for VkDisplayPowerStateEXT
Auto Trait Implementations§
impl Freeze for VkDisplayPowerStateEXT
impl RefUnwindSafe for VkDisplayPowerStateEXT
impl Send for VkDisplayPowerStateEXT
impl Sync for VkDisplayPowerStateEXT
impl Unpin for VkDisplayPowerStateEXT
impl UnwindSafe for VkDisplayPowerStateEXT
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more