Skip to main content

Or

pub trait Or {
    // Required method
    fn or(self, other: Self) -> Self;
}
Expand description

Trait for expressions that support building disjunctions

This trait is implemented by expressions that support disjunctions, like boolean expressions over variables or parameters

Required Methods§

Source

fn or(self, other: Self) -> Self

Get the disjunction of self and other

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§