#[non_exhaustive]pub struct SequenceCycle {
pub repeated: EntityId,
pub path: Vec<EntityId>,
}Expand description
A cycle in the sequence graph.
A schedule whose tasks depend on each other in a loop has no valid ordering. This is data to report, not a condition to crash on.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.repeated: EntityIdThe task the walk returned to.
path: Vec<EntityId>The path taken, ending at the repeat.
Trait Implementations§
Source§impl Clone for SequenceCycle
impl Clone for SequenceCycle
Source§fn clone(&self) -> SequenceCycle
fn clone(&self) -> SequenceCycle
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 SequenceCycle
impl Debug for SequenceCycle
impl Eq for SequenceCycle
Source§impl From<SequenceCycle> for ScheduleReadError
impl From<SequenceCycle> for ScheduleReadError
Source§fn from(cycle: SequenceCycle) -> Self
fn from(cycle: SequenceCycle) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SequenceCycle
impl PartialEq for SequenceCycle
impl StructuralPartialEq for SequenceCycle
Auto Trait Implementations§
impl Freeze for SequenceCycle
impl RefUnwindSafe for SequenceCycle
impl Send for SequenceCycle
impl Sync for SequenceCycle
impl Unpin for SequenceCycle
impl UnsafeUnpin for SequenceCycle
impl UnwindSafe for SequenceCycle
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