Struct spacetimedb_primitives::SequenceId
source · #[repr(transparent)]pub struct SequenceId(pub u32);
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
source§impl Clone for SequenceId
impl Clone for SequenceId
source§fn clone(&self) -> SequenceId
fn clone(&self) -> SequenceId
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 SequenceId
impl Debug for SequenceId
source§impl Display for SequenceId
impl Display for SequenceId
source§impl From<SequenceId> for u32
impl From<SequenceId> for u32
source§fn from(value: SequenceId) -> Self
fn from(value: SequenceId) -> Self
Converts to this type from the input type.
source§impl From<SequenceId> for usize
impl From<SequenceId> for usize
source§fn from(value: SequenceId) -> Self
fn from(value: SequenceId) -> Self
Converts to this type from the input type.
source§impl From<i32> for SequenceId
impl From<i32> for SequenceId
source§impl From<u32> for SequenceId
impl From<u32> for SequenceId
source§impl From<u8> for SequenceId
impl From<u8> for SequenceId
source§impl From<usize> for SequenceId
impl From<usize> for SequenceId
source§impl Hash for SequenceId
impl Hash for SequenceId
source§impl Ord for SequenceId
impl Ord for SequenceId
source§fn cmp(&self, other: &SequenceId) -> Ordering
fn cmp(&self, other: &SequenceId) -> Ordering
1.21.0 · 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
source§impl PartialEq for SequenceId
impl PartialEq for SequenceId
source§fn eq(&self, other: &SequenceId) -> bool
fn eq(&self, other: &SequenceId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SequenceId
impl PartialOrd for SequenceId
source§fn partial_cmp(&self, other: &SequenceId) -> Option<Ordering>
fn partial_cmp(&self, other: &SequenceId) -> Option<Ordering>
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 SequenceId
impl Eq for SequenceId
impl StructuralPartialEq for SequenceId
impl IsEnabled for SequenceId
Auto Trait Implementations§
impl Freeze for SequenceId
impl RefUnwindSafe for SequenceId
impl Send for SequenceId
impl Sync for SequenceId
impl Unpin for SequenceId
impl UnwindSafe for SequenceId
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more