Enum string_patterns::enums::StringBounds
source · pub enum StringBounds<'a> {
Show 18 variants
StartsWith(&'a str, bool),
EndsWith(&'a str, bool),
Contains(&'a str, bool),
NotStartsWith(&'a str, bool),
NotEndsWith(&'a str, bool),
NotContains(&'a str, bool),
StartsWithCi(&'a str),
EndsWithCi(&'a str),
ContainsCi(&'a str),
NotStartsWithCi(&'a str),
NotEndsWithCi(&'a str),
NotContainsCi(&'a str),
StartsWithCs(&'a str),
EndsWithCs(&'a str),
ContainsCs(&'a str),
NotStartsWithCs(&'a str),
NotEndsWithCs(&'a str),
NotContainsCs(&'a str),
}
Variants§
StartsWith(&'a str, bool)
EndsWith(&'a str, bool)
Contains(&'a str, bool)
NotStartsWith(&'a str, bool)
NotEndsWith(&'a str, bool)
NotContains(&'a str, bool)
StartsWithCi(&'a str)
EndsWithCi(&'a str)
ContainsCi(&'a str)
NotStartsWithCi(&'a str)
NotEndsWithCi(&'a str)
NotContainsCi(&'a str)
StartsWithCs(&'a str)
EndsWithCs(&'a str)
ContainsCs(&'a str)
NotStartsWithCs(&'a str)
NotEndsWithCs(&'a str)
NotContainsCs(&'a str)
Implementations§
source§impl<'a> StringBounds<'a>
impl<'a> StringBounds<'a>
Trait Implementations§
source§impl<'a> Clone for StringBounds<'a>
impl<'a> Clone for StringBounds<'a>
source§fn clone(&self) -> StringBounds<'a>
fn clone(&self) -> StringBounds<'a>
Returns a copy 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<'a> RefUnwindSafe for StringBounds<'a>
impl<'a> Send for StringBounds<'a>
impl<'a> Sync for StringBounds<'a>
impl<'a> Unpin for StringBounds<'a>
impl<'a> UnwindSafe for StringBounds<'a>
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