pub enum NodeId {
System(SystemKey),
Set(SystemSetKey),
}Expand description
Unique identifier for a system or system set stored in a ScheduleGraph.
Variants§
Implementations§
Trait Implementations§
Source§impl From<SystemSetKey> for NodeId
impl From<SystemSetKey> for NodeId
Source§fn from(set: SystemSetKey) -> Self
fn from(set: SystemSetKey) -> Self
Converts to this type from the input type.
Source§impl GraphNodeId for NodeId
impl GraphNodeId for NodeId
Source§type Adjacent = CompactNodeIdAndDirection
type Adjacent = CompactNodeIdAndDirection
The type that packs and unpacks this
GraphNodeId with a Direction.
This is used to save space in the graph’s adjacency list.Source§type Edge = CompactNodeIdPair
type Edge = CompactNodeIdPair
The type that packs and unpacks this
GraphNodeId with another
GraphNodeId. This is used to save space in the graph’s edge list.Source§impl Ord for NodeId
impl Ord for NodeId
Source§impl PartialOrd for NodeId
impl PartialOrd for NodeId
Source§impl TryFrom<NodeId> for SystemSetKey
impl TryFrom<NodeId> for SystemSetKey
impl Copy for NodeId
impl Eq for NodeId
impl StructuralPartialEq for NodeId
Auto Trait Implementations§
impl Freeze for NodeId
impl RefUnwindSafe for NodeId
impl Send for NodeId
impl Sync for NodeId
impl Unpin for NodeId
impl UnwindSafe for NodeId
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.