#[repr(C)]pub struct DisplayPowerInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub power_state: DisplayPowerStateEXT,
}Expand description
VkDisplayPowerInfoEXT
Provided by VK_EXT_display_control.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT.
p_next: *const c_voidOptional, may be null.
power_state: DisplayPowerStateEXTImplementations§
Source§impl DisplayPowerInfoEXT
impl DisplayPowerInfoEXT
Sourcepub fn builder<'a>() -> DisplayPowerInfoEXTBuilder<'a>
pub fn builder<'a>() -> DisplayPowerInfoEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for DisplayPowerInfoEXT
impl Clone for DisplayPowerInfoEXT
Source§fn clone(&self) -> DisplayPowerInfoEXT
fn clone(&self) -> DisplayPowerInfoEXT
Returns a duplicate 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 DisplayPowerInfoEXT
impl Debug for DisplayPowerInfoEXT
Source§impl Default for DisplayPowerInfoEXT
impl Default for DisplayPowerInfoEXT
Source§fn default() -> DisplayPowerInfoEXT
fn default() -> DisplayPowerInfoEXT
Returns the “default value” for a type. Read more
impl Copy for DisplayPowerInfoEXT
Auto Trait Implementations§
impl Freeze for DisplayPowerInfoEXT
impl RefUnwindSafe for DisplayPowerInfoEXT
impl !Send for DisplayPowerInfoEXT
impl !Sync for DisplayPowerInfoEXT
impl Unpin for DisplayPowerInfoEXT
impl UnsafeUnpin for DisplayPowerInfoEXT
impl UnwindSafe for DisplayPowerInfoEXT
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