Struct sc_utils::id_sequence::SeqID
source · pub struct SeqID(/* private fields */);
Expand description
A Sequential ID.
Its integer value is intentionally not public: it is supposed to be instantiated from within this module only.
Trait Implementations§
source§impl Ord for SeqID
impl Ord for SeqID
source§impl PartialEq for SeqID
impl PartialEq for SeqID
source§impl PartialOrd for SeqID
impl PartialOrd for SeqID
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SeqID
impl Eq for SeqID
impl StructuralPartialEq for SeqID
Auto Trait Implementations§
impl Freeze for SeqID
impl RefUnwindSafe for SeqID
impl Send for SeqID
impl Sync for SeqID
impl Unpin for SeqID
impl UnwindSafe for SeqID
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<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read moresource§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.