Type Alias OrBool

Source
pub type OrBool<T, const V: bool> = ModQ<OrBoolQ<T, V>>;
Expand description

When T implements Borrow for bool, this will return that value or the specified value if T has no result. It’s unlikely you’ll use this by itself, see AsDerefOrBool for example of its use.

Aliased Type§

pub struct OrBool<T, const V: bool>(/* private fields */);