pub trait GuardExt: Guard + Sized {
// Provided methods
fn and<R: Guard>(self, other: R) -> And<Self, R> { ... }
fn or<R: Guard>(self, other: R) -> Or<Self, R> { ... }
}Expand description
An extension trait for Guard.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.