pub struct StateSegmentId(/* private fields */);Expand description
Validated stable identity of one contiguous mutable-state segment.
Implementations§
Trait Implementations§
Source§impl Clone for StateSegmentId
impl Clone for StateSegmentId
Source§fn clone(&self) -> StateSegmentId
fn clone(&self) -> StateSegmentId
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 moreSource§impl Debug for StateSegmentId
impl Debug for StateSegmentId
Source§impl Display for StateSegmentId
impl Display for StateSegmentId
impl Eq for StateSegmentId
Source§impl Hash for StateSegmentId
impl Hash for StateSegmentId
Source§impl Ord for StateSegmentId
impl Ord for StateSegmentId
Source§fn cmp(&self, other: &StateSegmentId) -> Ordering
fn cmp(&self, other: &StateSegmentId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StateSegmentId
impl PartialEq for StateSegmentId
Source§impl PartialOrd for StateSegmentId
impl PartialOrd for StateSegmentId
impl StructuralPartialEq for StateSegmentId
Auto Trait Implementations§
impl Freeze for StateSegmentId
impl RefUnwindSafe for StateSegmentId
impl Send for StateSegmentId
impl Sync for StateSegmentId
impl Unpin for StateSegmentId
impl UnsafeUnpin for StateSegmentId
impl UnwindSafe for StateSegmentId
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