pub struct InteractHook {
pub pattern: String,
pub is_regex: bool,
}Expand description
A hook for interact mode.
Fields§
§pattern: StringThe pattern to match.
is_regex: boolWhether this is a regex pattern.
Implementations§
Trait Implementations§
Source§impl Clone for InteractHook
impl Clone for InteractHook
Source§fn clone(&self) -> InteractHook
fn clone(&self) -> InteractHook
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InteractHook
impl RefUnwindSafe for InteractHook
impl Send for InteractHook
impl Sync for InteractHook
impl Unpin for InteractHook
impl UnwindSafe for InteractHook
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