Struct grin_chain::types::CommitPos
source · pub struct CommitPos {
pub pos: u64,
pub height: u64,
}
Expand description
Minimal struct representing a known MMR position and associated block height.
Fields§
§pos: u64
MMR position
height: u64
Block height
Trait Implementations§
source§impl PartialEq for CommitPos
impl PartialEq for CommitPos
impl Copy for CommitPos
impl StructuralPartialEq for CommitPos
Auto Trait Implementations§
impl Freeze for CommitPos
impl RefUnwindSafe for CommitPos
impl Send for CommitPos
impl Sync for CommitPos
impl Unpin for CommitPos
impl UnwindSafe for CommitPos
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<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.