pub enum PresentTimingSource {
CompositorMeasured,
SubmissionProxy,
Unobservable,
}Expand description
Truthful classification of how frame presentation intervals were observed.
Variants§
CompositorMeasured
Hardware compositor confirmed display scanout/presentation timestamps.
SubmissionProxy
Framework frame-callback or submission timestamps used as a proxy only.
Unobservable
Neither compositor nor submission timing could be observed.
Implementations§
Source§impl PresentTimingSource
Wire-label helpers for PresentTimingSource.
impl PresentTimingSource
Wire-label helpers for PresentTimingSource.
Sourcepub const fn from_mobile_timing_source(
source: MobilePresentTimingSource,
) -> Self
pub const fn from_mobile_timing_source( source: MobilePresentTimingSource, ) -> Self
Trait Implementations§
Source§impl Clone for PresentTimingSource
impl Clone for PresentTimingSource
impl Copy for PresentTimingSource
Source§impl Debug for PresentTimingSource
impl Debug for PresentTimingSource
Source§impl Default for PresentTimingSource
impl Default for PresentTimingSource
Source§impl<'de> Deserialize<'de> for PresentTimingSource
impl<'de> Deserialize<'de> for PresentTimingSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PresentTimingSource
Source§impl Hash for PresentTimingSource
impl Hash for PresentTimingSource
Source§impl Ord for PresentTimingSource
impl Ord for PresentTimingSource
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PresentTimingSource
impl PartialEq for PresentTimingSource
Source§impl PartialOrd for PresentTimingSource
impl PartialOrd for PresentTimingSource
Source§impl Serialize for PresentTimingSource
impl Serialize for PresentTimingSource
impl StructuralPartialEq for PresentTimingSource
Auto Trait Implementations§
impl Forget for PresentTimingSource
impl Freeze for PresentTimingSource
impl Move for PresentTimingSource
impl RefUnwindSafe for PresentTimingSource
impl Send for PresentTimingSource
impl Sync for PresentTimingSource
impl Unpin for PresentTimingSource
impl UnsafeUnpin for PresentTimingSource
impl UnwindSafe for PresentTimingSource
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