pub struct Contains(pub &'static str);Expand description
Simple pattern check (contains substring — no regex dep needed).
Tuple Fields§
§0: &'static strTrait Implementations§
Auto Trait Implementations§
impl Freeze for Contains
impl RefUnwindSafe for Contains
impl Send for Contains
impl Sync for Contains
impl Unpin for Contains
impl UnsafeUnpin for Contains
impl UnwindSafe for Contains
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