pub struct VirtualRowVersion(pub u64);Expand description
A monotonically-increasing counter; bumped by the
publisher whenever the VirtualRowMatrix is replaced.
Consumers compare versions across frames to invalidate
caches. A single u64 is sufficient because virtual rows
have only one source of change (provider mutation); unlike
crate::MatrixVersion, they don’t need multiple axes.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for VirtualRowVersion
impl Clone for VirtualRowVersion
Source§fn clone(&self) -> VirtualRowVersion
fn clone(&self) -> VirtualRowVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VirtualRowVersion
Source§impl Debug for VirtualRowVersion
impl Debug for VirtualRowVersion
Source§impl Default for VirtualRowVersion
impl Default for VirtualRowVersion
Source§fn default() -> VirtualRowVersion
fn default() -> VirtualRowVersion
Returns the “default value” for a type. Read more
impl Eq for VirtualRowVersion
Source§impl Hash for VirtualRowVersion
impl Hash for VirtualRowVersion
Source§impl PartialEq for VirtualRowVersion
impl PartialEq for VirtualRowVersion
impl StructuralPartialEq for VirtualRowVersion
Auto Trait Implementations§
impl Freeze for VirtualRowVersion
impl RefUnwindSafe for VirtualRowVersion
impl Send for VirtualRowVersion
impl Sync for VirtualRowVersion
impl Unpin for VirtualRowVersion
impl UnsafeUnpin for VirtualRowVersion
impl UnwindSafe for VirtualRowVersion
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