pub struct EdgeMapped {
pub graph: Graph,
pub edge_map1: Vec<EdgeId>,
pub edge_map2: Vec<EdgeId>,
}Expand description
A graph produced by a binary operator, together with the edge maps that relate its edges to the edges of the two operands.
The meaning (and the length) of the maps depends on the operator: see
Graph::union_map, Graph::intersection_map and Graph::compose_map.
Fields§
§graph: GraphThe resulting graph.
edge_map1: Vec<EdgeId>Edge map relating the result to the first operand (self).
edge_map2: Vec<EdgeId>Edge map relating the result to the second operand.
Trait Implementations§
Source§impl Clone for EdgeMapped
impl Clone for EdgeMapped
Source§fn clone(&self) -> EdgeMapped
fn clone(&self) -> EdgeMapped
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 EdgeMapped
impl Debug for EdgeMapped
Source§impl PartialEq for EdgeMapped
impl PartialEq for EdgeMapped
Source§fn eq(&self, other: &EdgeMapped) -> bool
fn eq(&self, other: &EdgeMapped) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EdgeMapped
Auto Trait Implementations§
impl !Sync for EdgeMapped
impl Freeze for EdgeMapped
impl RefUnwindSafe for EdgeMapped
impl Send for EdgeMapped
impl Unpin for EdgeMapped
impl UnsafeUnpin for EdgeMapped
impl UnwindSafe for EdgeMapped
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