pub enum Step {
Static(Iso3),
Dyn {
edge: EdgeId,
inverted: bool,
},
}Expand description
One step of a compiled plan.
Not #[non_exhaustive], for InterpPolicy’s reason rather than by
oversight. The only thing a consumer does with Plan::steps is classify
each step — “which edges does this plan sample?” is what
tf_tree_bench::workload, tf_tree_py::offline and the derivative tests all
ask — and a _ => arm answers no for a step kind it has never seen. That
under-counts silently, where a compile error names the file to fix.
Variants§
Static(Iso3)
A constant transform composed directly (a folded static edge or a run of them). Pre-inverted at compile time when it came from an inverted edge.
Dyn
A dynamic edge to be sampled at evaluation time. inverted composes the
inverse of the sampled pose (acc.mul_inv(p)); otherwise acc * p.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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