pub struct CoalitionId(pub u32);Expand description
Identifier for a coalition detected via strongly-connected components
of the support graph. Coalition ids are assigned at detection time by
crate::coalition::detect_coalitions and are only stable within a
single call — they change if the framework is mutated.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for CoalitionId
impl Clone for CoalitionId
Source§fn clone(&self) -> CoalitionId
fn clone(&self) -> CoalitionId
Returns a duplicate 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 CoalitionId
impl Debug for CoalitionId
Source§impl Hash for CoalitionId
impl Hash for CoalitionId
Source§impl Ord for CoalitionId
impl Ord for CoalitionId
Source§fn cmp(&self, other: &CoalitionId) -> Ordering
fn cmp(&self, other: &CoalitionId) -> 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 CoalitionId
impl PartialEq for CoalitionId
Source§impl PartialOrd for CoalitionId
impl PartialOrd for CoalitionId
impl Copy for CoalitionId
impl Eq for CoalitionId
impl StructuralPartialEq for CoalitionId
Auto Trait Implementations§
impl Freeze for CoalitionId
impl RefUnwindSafe for CoalitionId
impl Send for CoalitionId
impl Sync for CoalitionId
impl Unpin for CoalitionId
impl UnsafeUnpin for CoalitionId
impl UnwindSafe for CoalitionId
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.