pub struct TemporalRecord {
pub id: String,
pub rect: Rect,
pub keys: HashSet<(i32, i32)>,
pub chosen_frame: u32,
pub chosen_time: f64,
pub complete: bool,
pub revisions: u32,
}Expand description
One in-memory temporal record (ResidentTemporal in src/core/compositor.ts — blocks there is the
persisted, derived-on-write form of keys here).
Fields§
§id: String§rect: Rect§keys: HashSet<(i32, i32)>§chosen_frame: u32§chosen_time: f64§complete: bool§revisions: u32Trait Implementations§
Source§impl Clone for TemporalRecord
impl Clone for TemporalRecord
Source§impl Debug for TemporalRecord
impl Debug for TemporalRecord
Source§impl PartialEq for TemporalRecord
impl PartialEq for TemporalRecord
impl StructuralPartialEq for TemporalRecord
Auto Trait Implementations§
impl Freeze for TemporalRecord
impl RefUnwindSafe for TemporalRecord
impl Send for TemporalRecord
impl Sync for TemporalRecord
impl Unpin for TemporalRecord
impl UnsafeUnpin for TemporalRecord
impl UnwindSafe for TemporalRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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