struct DependencyCollector<'a> {
rotation: &'a Rotation,
resolver: &'a SpecResolver,
table: &'a DescriptorTable,
plans: Vec<PreparedActionDependencyPlan>,
complete: bool,
}Fields§
§rotation: &'a Rotation§resolver: &'a SpecResolver§table: &'a DescriptorTable§plans: Vec<PreparedActionDependencyPlan>§complete: boolImplementations§
Source§impl DependencyCollector<'_>
impl DependencyCollector<'_>
fn collect_actions( &mut self, actions: &[RotationAction], inherited_complete: bool, ) -> Result<()>
fn collect_cast( &mut self, spell_name: &str, condition: Option<&Condition>, inherited_complete: bool, ) -> Result<()>
fn analyze_condition( &self, condition: &Condition, action_spell: SpellIdx, positive: bool, ) -> Result<ConditionAnalysis>
fn analyze_read( &self, field: &FieldRead, action_spell: SpellIdx, positive: bool, ) -> Result<ConditionAnalysis>
fn analyze_compare( &self, op: CompareOp, left: &Condition, right: &Condition, positive: bool, ) -> Result<ConditionAnalysis>
fn classify_comparison_operand( &self, condition: &Condition, ) -> Result<ComparisonOperand>
fn classify_read_operand(&self, field: &FieldRead) -> Result<ComparisonOperand>
Auto Trait Implementations§
impl<'a> Freeze for DependencyCollector<'a>
impl<'a> RefUnwindSafe for DependencyCollector<'a>
impl<'a> Send for DependencyCollector<'a>
impl<'a> Sync for DependencyCollector<'a>
impl<'a> Unpin for DependencyCollector<'a>
impl<'a> UnsafeUnpin for DependencyCollector<'a>
impl<'a> UnwindSafe for DependencyCollector<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more