#[repr(C)]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,
}Expand description
enum VkDisplayPowerStateEXT from VK_EXT_display_control
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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VkDisplayPowerStateEXT
Source§impl Debug for VkDisplayPowerStateEXT
impl Debug for VkDisplayPowerStateEXT
impl Eq for VkDisplayPowerStateEXT
Source§impl Hash for VkDisplayPowerStateEXT
impl Hash for VkDisplayPowerStateEXT
Source§impl Ord for VkDisplayPowerStateEXT
impl Ord for VkDisplayPowerStateEXT
Source§fn cmp(&self, other: &VkDisplayPowerStateEXT) -> Ordering
fn cmp(&self, other: &VkDisplayPowerStateEXT) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VkDisplayPowerStateEXT
impl PartialEq for VkDisplayPowerStateEXT
Source§impl PartialOrd for VkDisplayPowerStateEXT
impl PartialOrd 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 UnsafeUnpin 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