pub struct Neutral<S> { /* private fields */ }Expand description
A predicate that always returns Cacheable.
Useful as a starting point for predicate chains or as a no-op predicate.
Implementations§
Trait Implementations§
impl<S: Copy> Copy for Neutral<S>
Auto Trait Implementations§
impl<S> Freeze for Neutral<S>
impl<S> RefUnwindSafe for Neutral<S>
impl<S> Send for Neutral<S>
impl<S> Sync for Neutral<S>
impl<S> Unpin for Neutral<S>
impl<S> UnwindSafe for Neutral<S>
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