pub struct AsymmetricTypedGraph {
pub graph: Graph,
pub out_types: Vec<i64>,
pub in_types: Vec<i64>,
}Expand description
Result of Graph::asymmetric_preference_game: every vertex has an
out-type and an in-type.
Fields§
§graph: GraphThe generated (directed) graph.
out_types: Vec<i64>out_types[v] is the outgoing type of vertex v.
in_types: Vec<i64>in_types[v] is the incoming type of vertex v.
Trait Implementations§
Source§impl Clone for AsymmetricTypedGraph
impl Clone for AsymmetricTypedGraph
Source§fn clone(&self) -> AsymmetricTypedGraph
fn clone(&self) -> AsymmetricTypedGraph
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 moreSource§impl Debug for AsymmetricTypedGraph
impl Debug for AsymmetricTypedGraph
Source§impl PartialEq for AsymmetricTypedGraph
impl PartialEq for AsymmetricTypedGraph
Source§fn eq(&self, other: &AsymmetricTypedGraph) -> bool
fn eq(&self, other: &AsymmetricTypedGraph) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AsymmetricTypedGraph
Auto Trait Implementations§
impl !Sync for AsymmetricTypedGraph
impl Freeze for AsymmetricTypedGraph
impl RefUnwindSafe for AsymmetricTypedGraph
impl Send for AsymmetricTypedGraph
impl Unpin for AsymmetricTypedGraph
impl UnsafeUnpin for AsymmetricTypedGraph
impl UnwindSafe for AsymmetricTypedGraph
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