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§
source§impl PartialEq for MatchDir
impl PartialEq for MatchDir
impl Copy for MatchDir
impl Eq for MatchDir
impl StructuralEq for MatchDir
impl StructuralPartialEq for MatchDir
Auto Trait Implementations§
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