Struct sc_utils::id_sequence::SeqID
source · pub struct SeqID(_);
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<SeqID> for SeqID
impl PartialEq<SeqID> for SeqID
source§impl PartialOrd<SeqID> for SeqID
impl PartialOrd<SeqID> 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 StructuralEq for SeqID
impl StructuralPartialEq for SeqID
Auto Trait Implementations§
impl RefUnwindSafe for SeqID
impl Send for SeqID
impl Sync for SeqID
impl Unpin for SeqID
impl UnwindSafe for SeqID
Blanket Implementations§
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
§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 more§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.