pub struct StringParam<'a>(/* private fields */);
Expand description
Wraps the regex that forms the Strategy
for String
so that a sensible
Default
can be given. The default is a string of non-control characters.
Trait Implementations§
Source§impl<'a> Clone for StringParam<'a>
impl<'a> Clone for StringParam<'a>
Source§fn clone(&self) -> StringParam<'a>
fn clone(&self) -> StringParam<'a>
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 moreSource§impl<'a> Default for StringParam<'a>
impl<'a> Default for StringParam<'a>
Source§impl<'a> From<&'a str> for StringParam<'a>
impl<'a> From<&'a str> for StringParam<'a>
Source§fn from(original: &'a str) -> StringParam<'a>
fn from(original: &'a str) -> StringParam<'a>
Converts to this type from the input type.
Source§impl<'a> From<StringParam<'a>> for &'a str
impl<'a> From<StringParam<'a>> for &'a str
Source§fn from(original: StringParam<'a>) -> &'a str
fn from(original: StringParam<'a>) -> &'a str
Converts to this type from the input type.
Source§impl<'a> Hash for StringParam<'a>
impl<'a> Hash for StringParam<'a>
Source§impl<'a> Ord for StringParam<'a>
impl<'a> Ord for StringParam<'a>
Source§fn cmp(&self, other: &StringParam<'a>) -> Ordering
fn cmp(&self, other: &StringParam<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for StringParam<'a>
impl<'a> PartialEq for StringParam<'a>
Source§impl<'a> PartialOrd for StringParam<'a>
impl<'a> PartialOrd for StringParam<'a>
impl<'a> Copy for StringParam<'a>
impl<'a> Eq for StringParam<'a>
impl<'a> StructuralPartialEq for StringParam<'a>
Auto Trait Implementations§
impl<'a> Freeze for StringParam<'a>
impl<'a> RefUnwindSafe for StringParam<'a>
impl<'a> Send for StringParam<'a>
impl<'a> Sync for StringParam<'a>
impl<'a> Unpin for StringParam<'a>
impl<'a> UnwindSafe for StringParam<'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