Struct nimble_steps::Steps
source · pub struct Steps<T> { /* private fields */ }Implementations§
source§impl<T> Steps<T>
impl<T> Steps<T>
pub fn new() -> Self
pub fn new_with_initial_tick(initial_tick_id: TickId) -> Self
pub fn push(&mut self, step: Step<T>)
pub fn pop(&mut self) -> Option<StepInfo<T>>
pub fn pop_up_to(&mut self, tick_id: TickId)
pub fn pop_count(&mut self, count: usize)
pub fn front_tick_id(&self) -> Option<TickId>
pub fn back_tick_id(&self) -> Option<TickId>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Steps<T>where
T: RefUnwindSafe,
impl<T> Send for Steps<T>where
T: Send,
impl<T> Sync for Steps<T>where
T: Sync,
impl<T> Unpin for Steps<T>where
T: Unpin,
impl<T> UnwindSafe for Steps<T>where
T: UnwindSafe,
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