Skip to main content

And

Trait And 

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

Trait for expressions that support conjunctions

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

Required Methods§

Source

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

Get the conjunction of self and other

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§