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§

source

fn and<R: Guard>(self, other: R) -> And<Self, R>

Perform and operator on two rules

source

fn or<R: Guard>(self, other: R) -> Or<Self, R>

Perform or operator on two rules

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Guard> GuardExt for T