Struct ash::vk::DisplayPowerInfoEXT
source · #[repr(C)]pub struct DisplayPowerInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub power_state: DisplayPowerStateEXT,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§power_state: DisplayPowerStateEXT
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> DisplayPowerInfoEXT<'a>
impl<'a> DisplayPowerInfoEXT<'a>
pub fn power_state(self, power_state: DisplayPowerStateEXT) -> Self
Trait Implementations§
source§impl<'a> Clone for DisplayPowerInfoEXT<'a>
impl<'a> Clone for DisplayPowerInfoEXT<'a>
source§fn clone(&self) -> DisplayPowerInfoEXT<'a>
fn clone(&self) -> DisplayPowerInfoEXT<'a>
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<'a> Debug for DisplayPowerInfoEXT<'a>
impl<'a> Debug for DisplayPowerInfoEXT<'a>
source§impl Default for DisplayPowerInfoEXT<'_>
impl Default for DisplayPowerInfoEXT<'_>
source§impl<'a> TaggedStructure for DisplayPowerInfoEXT<'a>
impl<'a> TaggedStructure for DisplayPowerInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::DISPLAY_POWER_INFO_EXT
impl<'a> Copy for DisplayPowerInfoEXT<'a>
impl Send for DisplayPowerInfoEXT<'_>
impl Sync for DisplayPowerInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for DisplayPowerInfoEXT<'a>
impl<'a> RefUnwindSafe for DisplayPowerInfoEXT<'a>
impl<'a> Unpin for DisplayPowerInfoEXT<'a>
impl<'a> UnwindSafe for DisplayPowerInfoEXT<'a>
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