pub struct IsTrimmed;Expand description
Checks if the string is trimmed.
Trait Implementations§
Source§impl Ord for IsTrimmed
impl Ord for IsTrimmed
Source§impl PartialOrd for IsTrimmed
impl PartialOrd for IsTrimmed
Source§impl<T: AsRef<str> + ?Sized> Predicate<T> for IsTrimmed
impl<T: AsRef<str> + ?Sized> Predicate<T> for IsTrimmed
Source§type Error = IsTrimmedError
type Error = IsTrimmedError
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 IsTrimmed
impl Eq for IsTrimmed
impl StructuralPartialEq for IsTrimmed
Auto Trait Implementations§
impl Freeze for IsTrimmed
impl RefUnwindSafe for IsTrimmed
impl Send for IsTrimmed
impl Sync for IsTrimmed
impl Unpin for IsTrimmed
impl UnwindSafe for IsTrimmed
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