pub struct AccumulatorSnapshot {
pub update_count: u64,
pub matrix_hash: u64,
}Expand description
Sentinel accumulator state before a proposed update.
Fields§
§update_count: u64§matrix_hash: u64Trait Implementations§
Source§impl Clone for AccumulatorSnapshot
impl Clone for AccumulatorSnapshot
Source§fn clone(&self) -> AccumulatorSnapshot
fn clone(&self) -> AccumulatorSnapshot
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 AccumulatorSnapshot
Source§impl Debug for AccumulatorSnapshot
impl Debug for AccumulatorSnapshot
impl Eq for AccumulatorSnapshot
Source§impl PartialEq for AccumulatorSnapshot
impl PartialEq for AccumulatorSnapshot
Source§fn eq(&self, other: &AccumulatorSnapshot) -> bool
fn eq(&self, other: &AccumulatorSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccumulatorSnapshot
Auto Trait Implementations§
impl Freeze for AccumulatorSnapshot
impl RefUnwindSafe for AccumulatorSnapshot
impl Send for AccumulatorSnapshot
impl Sync for AccumulatorSnapshot
impl Unpin for AccumulatorSnapshot
impl UnsafeUnpin for AccumulatorSnapshot
impl UnwindSafe for AccumulatorSnapshot
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