#[repr(u8)]pub enum MobilePresentTimingSource {
CompositorMeasured = 0,
SubmissionProxy = 1,
Unobservable = 2,
}Expand description
Honest provenance classification for mobile frame presentation timestamps.
Variants§
CompositorMeasured = 0
Measured directly from OS compositor hooks (eglPresentationTimeANDROID / swap or physical-device MTLDrawable.presentedTime).
SubmissionProxy = 1
Submission or VSync callback timing proxy (used when compositor timestamps are unavailable, such as iOS Simulator).
Unobservable = 2
Presentation timing cannot be observed on the active host or surface.
Trait Implementations§
Source§impl Clone for MobilePresentTimingSource
impl Clone for MobilePresentTimingSource
impl Copy for MobilePresentTimingSource
Source§impl Debug for MobilePresentTimingSource
impl Debug for MobilePresentTimingSource
Source§impl Default for MobilePresentTimingSource
impl Default for MobilePresentTimingSource
impl Eq for MobilePresentTimingSource
Source§impl Hash for MobilePresentTimingSource
impl Hash for MobilePresentTimingSource
Source§impl Ord for MobilePresentTimingSource
impl Ord for MobilePresentTimingSource
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 PartialOrd for MobilePresentTimingSource
impl PartialOrd for MobilePresentTimingSource
impl StructuralPartialEq for MobilePresentTimingSource
Auto Trait Implementations§
impl Forget for MobilePresentTimingSource
impl Freeze for MobilePresentTimingSource
impl Move for MobilePresentTimingSource
impl RefUnwindSafe for MobilePresentTimingSource
impl Send for MobilePresentTimingSource
impl Sync for MobilePresentTimingSource
impl Unpin for MobilePresentTimingSource
impl UnsafeUnpin for MobilePresentTimingSource
impl UnwindSafe for MobilePresentTimingSource
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