Struct UnfoldingPlan
pub struct UnfoldingPlan { /* private fields */ }Expand description
A sequence of unfolding steps.
Implementations§
§impl UnfoldingPlan
impl UnfoldingPlan
pub const fn new(steps: Vec<UnfoldingStep>) -> UnfoldingPlan
pub const fn new(steps: Vec<UnfoldingStep>) -> UnfoldingPlan
Creates an unfolding plan.
pub fn steps(&self) -> &[UnfoldingStep]
pub fn steps(&self) -> &[UnfoldingStep]
Returns the steps.
pub fn step_count(&self) -> usize
pub fn step_count(&self) -> usize
Returns the step count.
Trait Implementations§
§impl Clone for UnfoldingPlan
impl Clone for UnfoldingPlan
§fn clone(&self) -> UnfoldingPlan
fn clone(&self) -> UnfoldingPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for UnfoldingPlan
impl Debug for UnfoldingPlan
§impl PartialEq for UnfoldingPlan
impl PartialEq for UnfoldingPlan
impl Eq for UnfoldingPlan
impl StructuralPartialEq for UnfoldingPlan
Auto Trait Implementations§
impl Freeze for UnfoldingPlan
impl RefUnwindSafe for UnfoldingPlan
impl Send for UnfoldingPlan
impl Sync for UnfoldingPlan
impl Unpin for UnfoldingPlan
impl UnsafeUnpin for UnfoldingPlan
impl UnwindSafe for UnfoldingPlan
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