pub struct ClassifiedEdge {
pub from: (String, String),
pub to: (String, String),
pub to_class: PortClass,
pub from_class: PortClass,
pub is_back_edge: bool,
pub policy: BoundaryPolicy,
}Expand description
One classified edge (a from_port -> to_port boundary) in a compiled
circuit, with its derived BoundaryPolicy.
Fields§
§from: (String, String)(comp_id, pin) of the upstream (flow-source) end.
to: (String, String)(comp_id, pin) of the downstream (flow-sink) end.
to_class: PortClassClass of the sink port (the one the edge runs INTO).
from_class: PortClassClass of the source port.
is_back_edge: boolWhether the edge runs against directed signal flow (feedback).
policy: BoundaryPolicyThe derived policy for this boundary.
Trait Implementations§
Source§impl Clone for ClassifiedEdge
impl Clone for ClassifiedEdge
Source§fn clone(&self) -> ClassifiedEdge
fn clone(&self) -> ClassifiedEdge
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 ClassifiedEdge
impl Debug for ClassifiedEdge
impl Eq for ClassifiedEdge
Source§impl PartialEq for ClassifiedEdge
impl PartialEq for ClassifiedEdge
Source§fn eq(&self, other: &ClassifiedEdge) -> bool
fn eq(&self, other: &ClassifiedEdge) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClassifiedEdge
Auto Trait Implementations§
impl Freeze for ClassifiedEdge
impl RefUnwindSafe for ClassifiedEdge
impl Send for ClassifiedEdge
impl Sync for ClassifiedEdge
impl Unpin for ClassifiedEdge
impl UnsafeUnpin for ClassifiedEdge
impl UnwindSafe for ClassifiedEdge
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> 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.