pub struct AssertionId(pub u32);Expand description
Stable identifier for a named assertion definition.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for AssertionId
impl Clone for AssertionId
Source§fn clone(&self) -> AssertionId
fn clone(&self) -> AssertionId
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 AssertionId
Source§impl Debug for AssertionId
impl Debug for AssertionId
impl Eq for AssertionId
Source§impl Hash for AssertionId
impl Hash for AssertionId
Source§impl Ord for AssertionId
impl Ord for AssertionId
Source§fn cmp(&self, other: &AssertionId) -> Ordering
fn cmp(&self, other: &AssertionId) -> 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 AssertionId
impl PartialEq for AssertionId
Source§impl PartialOrd for AssertionId
impl PartialOrd for AssertionId
impl StructuralPartialEq for AssertionId
Auto Trait Implementations§
impl Freeze for AssertionId
impl RefUnwindSafe for AssertionId
impl Send for AssertionId
impl Sync for AssertionId
impl Unpin for AssertionId
impl UnsafeUnpin for AssertionId
impl UnwindSafe for AssertionId
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