pub struct UnfoldingPlan { /* private fields */ }Expand description
A sequence of unfolding steps.
Implementations§
Source§impl UnfoldingPlan
impl UnfoldingPlan
Sourcepub const fn new(steps: Vec<UnfoldingStep>) -> UnfoldingPlan
pub const fn new(steps: Vec<UnfoldingStep>) -> UnfoldingPlan
Creates an unfolding plan.
Sourcepub fn steps(&self) -> &[UnfoldingStep]
pub fn steps(&self) -> &[UnfoldingStep]
Returns the steps.
Sourcepub fn step_count(&self) -> usize
pub fn step_count(&self) -> usize
Returns the step count.
Trait Implementations§
Source§impl Clone for UnfoldingPlan
impl Clone for UnfoldingPlan
Source§fn clone(&self) -> UnfoldingPlan
fn clone(&self) -> UnfoldingPlan
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 UnfoldingPlan
impl Debug for UnfoldingPlan
Source§impl PartialEq for UnfoldingPlan
impl PartialEq for UnfoldingPlan
Source§fn eq(&self, other: &UnfoldingPlan) -> bool
fn eq(&self, other: &UnfoldingPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.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