pub struct Contains;
Available on crate feature
filter
only.Expand description
The OperatorClass
that can instantiate ContainsImpl
.
Trait Implementations§
Source§impl<T> OperatorClass<T> for Contains
impl<T> OperatorClass<T> for Contains
Source§type Instance = ContainsImpl
type Instance = ContainsImpl
The type of
Operator
this object can make.Source§fn instantiate(&self, rhs: &str) -> Result<Self::Instance, FilterError>
fn instantiate(&self, rhs: &str) -> Result<Self::Instance, FilterError>
Create a new
Operator
, parsing the supplied argument string
to initialise whatever representation this operator uses to
match against objects. Since this is a parsing operation, it
can fail.Auto Trait Implementations§
impl Freeze for Contains
impl RefUnwindSafe for Contains
impl Send for Contains
impl Sync for Contains
impl Unpin 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