pub struct StartsWith;
Available on crate feature
filter
only.Expand description
The OperatorClass
that can instantiate StartsWithImpl
.
Trait Implementations§
Source§impl<T> OperatorClass<T> for StartsWith
impl<T> OperatorClass<T> for StartsWith
Source§type Instance = StartsWithImpl
type Instance = StartsWithImpl
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 StartsWith
impl RefUnwindSafe for StartsWith
impl Send for StartsWith
impl Sync for StartsWith
impl Unpin for StartsWith
impl UnwindSafe for StartsWith
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