pub struct NumberDomainId(pub u32);Expand description
Stable id of a registered number domain.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for NumberDomainId
impl Clone for NumberDomainId
Source§fn clone(&self) -> NumberDomainId
fn clone(&self) -> NumberDomainId
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 moreimpl Copy for NumberDomainId
Source§impl Debug for NumberDomainId
impl Debug for NumberDomainId
impl Eq for NumberDomainId
Source§impl Hash for NumberDomainId
impl Hash for NumberDomainId
Source§impl Ord for NumberDomainId
impl Ord for NumberDomainId
Source§fn cmp(&self, other: &NumberDomainId) -> Ordering
fn cmp(&self, other: &NumberDomainId) -> 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
Source§impl PartialEq for NumberDomainId
impl PartialEq for NumberDomainId
Source§fn eq(&self, other: &NumberDomainId) -> bool
fn eq(&self, other: &NumberDomainId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NumberDomainId
impl PartialOrd for NumberDomainId
impl StructuralPartialEq for NumberDomainId
Auto Trait Implementations§
impl Freeze for NumberDomainId
impl RefUnwindSafe for NumberDomainId
impl Send for NumberDomainId
impl Sync for NumberDomainId
impl Unpin for NumberDomainId
impl UnsafeUnpin for NumberDomainId
impl UnwindSafe for NumberDomainId
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