pub struct ViewEpoch(/* private fields */);Expand description
Opaque monotonic epoch counter.
Incremented when the view system (via its configured EpochPolicy)
determines a discontinuity occurred that warrants segmenting temporal state.
Within a single uninterrupted feed session with CameraMode::Fixed,
the epoch never changes. Even for fixed feeds, epoch increments on feed restart.
Implementations§
Trait Implementations§
Source§impl Ord for ViewEpoch
impl Ord for ViewEpoch
Source§impl PartialOrd for ViewEpoch
impl PartialOrd for ViewEpoch
impl Copy for ViewEpoch
impl Eq for ViewEpoch
impl StructuralPartialEq for ViewEpoch
Auto Trait Implementations§
impl Freeze for ViewEpoch
impl RefUnwindSafe for ViewEpoch
impl Send for ViewEpoch
impl Sync for ViewEpoch
impl Unpin for ViewEpoch
impl UnsafeUnpin for ViewEpoch
impl UnwindSafe for ViewEpoch
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