Enum sigi::actions::Action [−][src]
A stack-manipulation action.
Variants
Look at the most-recent item.
Create(Item)
Add a new item.
Complete (successfully) the most-recent item.
Note: This currently does nothing different from Delete
.
In future versions, sigi is planned to have a history of
your completed items.
Delete the most-recent item.
Delete all items.
List the stack’s items.
Count the stack’s items.
Determine if the stack is empty or not.
Make the next item the most-recent item. The previously most-recent item is sent to the end of the stack.
Swap the two most-recent items.
Rotate the three most-recent items.
Implementations
impl Action
[src]
pub fn data<'a>(&self) -> ActionMetadata<'a>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,