pub struct TrimmedEnd { /* private fields */ }Expand description
Checks if the string is trimmed at the end.
Trait Implementations§
Source§impl<T: AsRef<str> + ?Sized> Predicate<T> for TrimmedEnd
impl<T: AsRef<str> + ?Sized> Predicate<T> for TrimmedEnd
Auto Trait Implementations§
impl Freeze for TrimmedEnd
impl RefUnwindSafe for TrimmedEnd
impl Send for TrimmedEnd
impl Sync for TrimmedEnd
impl Unpin for TrimmedEnd
impl UnsafeUnpin for TrimmedEnd
impl UnwindSafe for TrimmedEnd
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
Source§impl<T, P> PredicateExpected<T> for P
impl<T, P> PredicateExpected<T> for P
Source§fn expected() -> Expected<T, Self>
fn expected() -> Expected<T, Self>
Returns the
Expected<T, Self> value used for formatting.