#[repr(C)]pub struct PresentTimingSurfaceCapabilitiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub present_timing_supported: Bool32,
pub present_at_absolute_time_supported: Bool32,
pub present_at_relative_time_supported: Bool32,
pub present_stage_queries: PresentStageFlagsEXT,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *mut c_void§present_timing_supported: Bool32§present_at_absolute_time_supported: Bool32§present_at_relative_time_supported: Bool32§present_stage_queries: PresentStageFlagsEXT§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> PresentTimingSurfaceCapabilitiesEXT<'a>
impl<'a> PresentTimingSurfaceCapabilitiesEXT<'a>
pub fn present_timing_supported(self, present_timing_supported: bool) -> Self
pub fn present_at_absolute_time_supported( self, present_at_absolute_time_supported: bool, ) -> Self
pub fn present_at_relative_time_supported( self, present_at_relative_time_supported: bool, ) -> Self
pub fn present_stage_queries( self, present_stage_queries: PresentStageFlagsEXT, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for PresentTimingSurfaceCapabilitiesEXT<'a>
impl<'a> Clone for PresentTimingSurfaceCapabilitiesEXT<'a>
Source§fn clone(&self) -> PresentTimingSurfaceCapabilitiesEXT<'a>
fn clone(&self) -> PresentTimingSurfaceCapabilitiesEXT<'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 PresentTimingSurfaceCapabilitiesEXT<'a>
impl<'a> Debug for PresentTimingSurfaceCapabilitiesEXT<'a>
Source§impl Default for PresentTimingSurfaceCapabilitiesEXT<'_>
impl Default for PresentTimingSurfaceCapabilitiesEXT<'_>
Source§impl<'a> TaggedStructure for PresentTimingSurfaceCapabilitiesEXT<'a>
impl<'a> TaggedStructure for PresentTimingSurfaceCapabilitiesEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PRESENT_TIMING_SURFACE_CAPABILITIES_EXT
impl<'a> Copy for PresentTimingSurfaceCapabilitiesEXT<'a>
impl ExtendsSurfaceCapabilities2KHR for PresentTimingSurfaceCapabilitiesEXT<'_>
impl Send for PresentTimingSurfaceCapabilitiesEXT<'_>
impl Sync for PresentTimingSurfaceCapabilitiesEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for PresentTimingSurfaceCapabilitiesEXT<'a>
impl<'a> RefUnwindSafe for PresentTimingSurfaceCapabilitiesEXT<'a>
impl<'a> Unpin for PresentTimingSurfaceCapabilitiesEXT<'a>
impl<'a> UnwindSafe for PresentTimingSurfaceCapabilitiesEXT<'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