Struct loro_common::LamportSpan
source · pub struct LamportSpan {
pub start: Lamport,
pub end: Lamport,
}Fields§
§start: Lamport§end: LamportTrait Implementations§
source§impl Clone for LamportSpan
impl Clone for LamportSpan
source§fn clone(&self) -> LamportSpan
fn clone(&self) -> LamportSpan
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LamportSpan
impl Debug for LamportSpan
source§impl PartialEq for LamportSpan
impl PartialEq for LamportSpan
source§fn eq(&self, other: &LamportSpan) -> bool
fn eq(&self, other: &LamportSpan) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for LamportSpan
impl Eq for LamportSpan
impl StructuralPartialEq for LamportSpan
Auto Trait Implementations§
impl Freeze for LamportSpan
impl RefUnwindSafe for LamportSpan
impl Send for LamportSpan
impl Sync for LamportSpan
impl Unpin for LamportSpan
impl UnwindSafe for LamportSpan
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