pub struct ContingentId(pub usize);Expand description
Handle of a contingent link inside one Stnu, in insertion order starting at zero.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for ContingentId
impl Clone for ContingentId
impl Copy for ContingentId
Source§impl Debug for ContingentId
impl Debug for ContingentId
impl Eq for ContingentId
Source§impl Hash for ContingentId
impl Hash for ContingentId
Source§impl Ord for ContingentId
impl Ord for ContingentId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ContingentId
impl PartialEq for ContingentId
Source§impl PartialOrd for ContingentId
impl PartialOrd for ContingentId
impl StructuralPartialEq for ContingentId
Auto Trait Implementations§
impl Forget for ContingentId
impl Freeze for ContingentId
impl Move for ContingentId
impl RefUnwindSafe for ContingentId
impl Send for ContingentId
impl Sync for ContingentId
impl Unpin for ContingentId
impl UnsafeUnpin for ContingentId
impl UnwindSafe for ContingentId
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