pub enum MatchDir {
BottomToTop,
TopToBottom,
}
Expand description
Match direction for the stack. Used in PEEK[a..b]
/stack_match_peek_slice
.
Variants§
BottomToTop
from the bottom to the top of the stack
TopToBottom
from the top to the bottom of the stack
Trait Implementations§
impl Copy for MatchDir
impl Eq for MatchDir
impl StructuralPartialEq for MatchDir
Auto Trait Implementations§
impl Freeze for MatchDir
impl RefUnwindSafe for MatchDir
impl Send for MatchDir
impl Sync for MatchDir
impl Unpin for MatchDir
impl UnwindSafe for MatchDir
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)