Struct ash::vk::LatencySleepModeInfoNV
source · #[repr(C)]pub struct LatencySleepModeInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub low_latency_mode: Bool32,
pub low_latency_boost: Bool32,
pub minimum_interval_us: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§low_latency_mode: Bool32
§low_latency_boost: Bool32
§minimum_interval_us: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> LatencySleepModeInfoNV<'a>
impl<'a> LatencySleepModeInfoNV<'a>
pub fn low_latency_mode(self, low_latency_mode: bool) -> Self
pub fn low_latency_boost(self, low_latency_boost: bool) -> Self
pub fn minimum_interval_us(self, minimum_interval_us: u32) -> Self
Trait Implementations§
source§impl<'a> Clone for LatencySleepModeInfoNV<'a>
impl<'a> Clone for LatencySleepModeInfoNV<'a>
source§fn clone(&self) -> LatencySleepModeInfoNV<'a>
fn clone(&self) -> LatencySleepModeInfoNV<'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 LatencySleepModeInfoNV<'a>
impl<'a> Debug for LatencySleepModeInfoNV<'a>
source§impl Default for LatencySleepModeInfoNV<'_>
impl Default for LatencySleepModeInfoNV<'_>
source§impl<'a> TaggedStructure for LatencySleepModeInfoNV<'a>
impl<'a> TaggedStructure for LatencySleepModeInfoNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::LATENCY_SLEEP_MODE_INFO_NV
impl<'a> Copy for LatencySleepModeInfoNV<'a>
impl Send for LatencySleepModeInfoNV<'_>
impl Sync for LatencySleepModeInfoNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for LatencySleepModeInfoNV<'a>
impl<'a> RefUnwindSafe for LatencySleepModeInfoNV<'a>
impl<'a> Unpin for LatencySleepModeInfoNV<'a>
impl<'a> UnwindSafe for LatencySleepModeInfoNV<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)