pub enum MatchHookPhase {
BeforeInner,
AfterInner,
}Expand description
Point in the wrapper algorithm where a hook runs.
Variants§
BeforeInner
Before the inner shape is checked.
AfterInner
After the inner shape has produced a match.
Trait Implementations§
Source§impl Clone for MatchHookPhase
impl Clone for MatchHookPhase
Source§fn clone(&self) -> MatchHookPhase
fn clone(&self) -> MatchHookPhase
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 moreimpl Copy for MatchHookPhase
Source§impl Debug for MatchHookPhase
impl Debug for MatchHookPhase
impl Eq for MatchHookPhase
Source§impl PartialEq for MatchHookPhase
impl PartialEq for MatchHookPhase
Source§fn eq(&self, other: &MatchHookPhase) -> bool
fn eq(&self, other: &MatchHookPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MatchHookPhase
Auto Trait Implementations§
impl Freeze for MatchHookPhase
impl RefUnwindSafe for MatchHookPhase
impl Send for MatchHookPhase
impl Sync for MatchHookPhase
impl Unpin for MatchHookPhase
impl UnsafeUnpin for MatchHookPhase
impl UnwindSafe for MatchHookPhase
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