struct Shared {
clock: Mutex<Clock>,
frame: Mutex<Option<Arc<Frame>>>,
layers: Mutex<Option<Arc<LayerSet>>>,
project: Mutex<Arc<Project>>,
cache_hits: AtomicU64,
buffering: AtomicBool,
}Fields§
§clock: Mutex<Clock>§frame: Mutex<Option<Arc<Frame>>>Newest rendered frame not yet taken by the UI.
layers: Mutex<Option<Arc<LayerSet>>>GPU mode: newest decoded layer set not yet taken by the UI (no CPU compositing happened).
project: Mutex<Arc<Project>>§cache_hits: AtomicU64Frames/layer sets served from the RAM cache instead of being rendered (observability + tests).
buffering: AtomicBoolPlayback fell behind decode: the UI should pause the clock and show a spinner until cleared.
Auto Trait Implementations§
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more