pub struct AnyGuard { /* private fields */ }
Expand description
A collection of guards that match if the disjunction of their check
outcomes is true.
That is, only one contained guard needs to match in order for the aggregate guard to match.
Construct an AnyGuard
using Any
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnyGuard
impl !RefUnwindSafe for AnyGuard
impl !Send for AnyGuard
impl !Sync for AnyGuard
impl Unpin for AnyGuard
impl !UnwindSafe for AnyGuard
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