pub enum MatchHookTargetKind {
Value,
Expr,
}Expand description
Match target observed by a hook.
Variants§
Trait Implementations§
Source§impl Clone for MatchHookTargetKind
impl Clone for MatchHookTargetKind
Source§fn clone(&self) -> MatchHookTargetKind
fn clone(&self) -> MatchHookTargetKind
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 MatchHookTargetKind
Source§impl Debug for MatchHookTargetKind
impl Debug for MatchHookTargetKind
impl Eq for MatchHookTargetKind
Source§impl PartialEq for MatchHookTargetKind
impl PartialEq for MatchHookTargetKind
Source§fn eq(&self, other: &MatchHookTargetKind) -> bool
fn eq(&self, other: &MatchHookTargetKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MatchHookTargetKind
Auto Trait Implementations§
impl Freeze for MatchHookTargetKind
impl RefUnwindSafe for MatchHookTargetKind
impl Send for MatchHookTargetKind
impl Sync for MatchHookTargetKind
impl Unpin for MatchHookTargetKind
impl UnsafeUnpin for MatchHookTargetKind
impl UnwindSafe for MatchHookTargetKind
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