#[repr(C)]pub struct PresentTimingInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PresentTimingInfoFlagsEXT,
pub target_time: u64,
pub time_domain_id: u64,
pub present_stage_queries: PresentStageFlagsEXT,
pub target_time_domain_present_stage: PresentStageFlagsEXT,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§flags: PresentTimingInfoFlagsEXT§target_time: u64§time_domain_id: u64§present_stage_queries: PresentStageFlagsEXT§target_time_domain_present_stage: PresentStageFlagsEXT§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> PresentTimingInfoEXT<'a>
impl<'a> PresentTimingInfoEXT<'a>
pub fn flags(self, flags: PresentTimingInfoFlagsEXT) -> Self
pub fn target_time(self, target_time: u64) -> Self
pub fn time_domain_id(self, time_domain_id: u64) -> Self
pub fn present_stage_queries( self, present_stage_queries: PresentStageFlagsEXT, ) -> Self
pub fn target_time_domain_present_stage( self, target_time_domain_present_stage: PresentStageFlagsEXT, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for PresentTimingInfoEXT<'a>
impl<'a> Clone for PresentTimingInfoEXT<'a>
Source§fn clone(&self) -> PresentTimingInfoEXT<'a>
fn clone(&self) -> PresentTimingInfoEXT<'a>
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<'a> Debug for PresentTimingInfoEXT<'a>
impl<'a> Debug for PresentTimingInfoEXT<'a>
Source§impl Default for PresentTimingInfoEXT<'_>
impl Default for PresentTimingInfoEXT<'_>
Source§impl<'a> TaggedStructure for PresentTimingInfoEXT<'a>
impl<'a> TaggedStructure for PresentTimingInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PRESENT_TIMING_INFO_EXT
impl<'a> Copy for PresentTimingInfoEXT<'a>
impl Send for PresentTimingInfoEXT<'_>
impl Sync for PresentTimingInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for PresentTimingInfoEXT<'a>
impl<'a> RefUnwindSafe for PresentTimingInfoEXT<'a>
impl<'a> Unpin for PresentTimingInfoEXT<'a>
impl<'a> UnwindSafe for PresentTimingInfoEXT<'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