pub struct Coalition<A: Clone + Eq + Hash> {
pub id: CoalitionId,
pub members: Vec<A>,
}Expand description
A detected coalition with its member arguments.
Fields§
§id: CoalitionIdAssigned identifier — stable only within a single
detect_coalitions call.
members: Vec<A>The arguments in this coalition. For a singleton coalition this has exactly one element.
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for Coalition<A>
impl<A> RefUnwindSafe for Coalition<A>where
A: RefUnwindSafe,
impl<A> Send for Coalition<A>where
A: Send,
impl<A> Sync for Coalition<A>where
A: Sync,
impl<A> Unpin for Coalition<A>where
A: Unpin,
impl<A> UnsafeUnpin for Coalition<A>
impl<A> UnwindSafe for Coalition<A>where
A: 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