pub struct IntAtomic<Identifier, Int> {
pub name: Identifier,
pub comparison: IntComparison,
pub value: Int,
}Expand description
An integer atomic constraint of the form [name op value], where op is an IntComparison.
Fields§
§name: Identifier§comparison: IntComparison§value: IntImplementations§
Trait Implementations§
Source§impl<Identifier: Ord, Int: Ord> Ord for IntAtomic<Identifier, Int>
impl<Identifier: Ord, Int: Ord> Ord for IntAtomic<Identifier, Int>
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<Identifier: PartialOrd, Int: PartialOrd> PartialOrd for IntAtomic<Identifier, Int>
impl<Identifier: PartialOrd, Int: PartialOrd> PartialOrd for IntAtomic<Identifier, Int>
impl<Identifier: Copy, Int: Copy> Copy for IntAtomic<Identifier, Int>
impl<Identifier: Eq, Int: Eq> Eq for IntAtomic<Identifier, Int>
impl<Identifier, Int> StructuralPartialEq for IntAtomic<Identifier, Int>
Auto Trait Implementations§
impl<Identifier, Int> Freeze for IntAtomic<Identifier, Int>
impl<Identifier, Int> RefUnwindSafe for IntAtomic<Identifier, Int>where
Identifier: RefUnwindSafe,
Int: RefUnwindSafe,
impl<Identifier, Int> Send for IntAtomic<Identifier, Int>
impl<Identifier, Int> Sync for IntAtomic<Identifier, Int>
impl<Identifier, Int> Unpin for IntAtomic<Identifier, Int>
impl<Identifier, Int> UnwindSafe for IntAtomic<Identifier, Int>where
Identifier: UnwindSafe,
Int: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.