pub struct IsTrimmedStart;Expand description
Checks if the string is trimmed at the start.
Trait Implementations§
Source§impl Clone for IsTrimmedStart
impl Clone for IsTrimmedStart
Source§fn clone(&self) -> IsTrimmedStart
fn clone(&self) -> IsTrimmedStart
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 moreSource§impl Debug for IsTrimmedStart
impl Debug for IsTrimmedStart
Source§impl Default for IsTrimmedStart
impl Default for IsTrimmedStart
Source§fn default() -> IsTrimmedStart
fn default() -> IsTrimmedStart
Returns the “default value” for a type. Read more
Source§impl Hash for IsTrimmedStart
impl Hash for IsTrimmedStart
Source§impl Ord for IsTrimmedStart
impl Ord for IsTrimmedStart
Source§fn cmp(&self, other: &IsTrimmedStart) -> Ordering
fn cmp(&self, other: &IsTrimmedStart) -> 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 PartialEq for IsTrimmedStart
impl PartialEq for IsTrimmedStart
Source§impl PartialOrd for IsTrimmedStart
impl PartialOrd for IsTrimmedStart
Source§impl<T: AsRef<str> + ?Sized> Predicate<T> for IsTrimmedStart
impl<T: AsRef<str> + ?Sized> Predicate<T> for IsTrimmedStart
Source§type Error = IsTrimmedStartError
type Error = IsTrimmedStartError
The associated error type which is used to represent checks.
Source§fn check(value: &T) -> Result<(), Self::Error>
fn check(value: &T) -> Result<(), Self::Error>
Checks if the value of type
T satisfies the predicate. Read moreimpl Copy for IsTrimmedStart
impl Eq for IsTrimmedStart
impl StructuralPartialEq for IsTrimmedStart
Auto Trait Implementations§
impl Freeze for IsTrimmedStart
impl RefUnwindSafe for IsTrimmedStart
impl Send for IsTrimmedStart
impl Sync for IsTrimmedStart
impl Unpin for IsTrimmedStart
impl UnwindSafe for IsTrimmedStart
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