pub struct SystemKey(/* private fields */);Expand description
A unique identifier for a system in a [ScheduleGraph].
Trait Implementations§
Source§impl GraphNodeId for SystemKey
impl GraphNodeId for SystemKey
Source§type Adjacent = (SystemKey, Direction)
type Adjacent = (SystemKey, Direction)
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 = (SystemKey, SystemKey)
type Edge = (SystemKey, SystemKey)
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 Key for SystemKey
impl Key for SystemKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!, which calls this
method). Read moreSource§impl Ord for SystemKey
impl Ord for SystemKey
Source§impl PartialOrd for SystemKey
impl PartialOrd for SystemKey
impl Copy for SystemKey
impl Eq for SystemKey
impl StructuralPartialEq for SystemKey
Auto Trait Implementations§
impl Freeze for SystemKey
impl RefUnwindSafe for SystemKey
impl Send for SystemKey
impl Sync for SystemKey
impl Unpin for SystemKey
impl UnwindSafe for SystemKey
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> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
Source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates Self using default().
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.