pub struct EdgeSpec {
pub source: NodeId,
pub target: NodeId,
pub enabled: bool,
}Expand description
One registered undirected edge for LifecycleGraph::try_from_topology.
Fields§
§source: NodeIdOne endpoint.
target: NodeIdThe other endpoint; orientation is not significant.
enabled: boolWhether the edge is enabled.
Trait Implementations§
impl Copy for EdgeSpec
impl Eq for EdgeSpec
impl StructuralPartialEq for EdgeSpec
Auto Trait Implementations§
impl Forget for EdgeSpec
impl Freeze for EdgeSpec
impl Move for EdgeSpec
impl RefUnwindSafe for EdgeSpec
impl Send for EdgeSpec
impl Sync for EdgeSpec
impl Unpin for EdgeSpec
impl UnsafeUnpin for EdgeSpec
impl UnwindSafe for EdgeSpec
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