Skip to main content

Or

Trait Or 

Source
pub trait Or<O> {
    type ReturnOperand;

    // Required method
    fn or(&self, other: O) -> Self::ReturnOperand;
}

Required Associated Types§

Required Methods§

Source

fn or(&self, other: O) -> Self::ReturnOperand

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<O, M> Or<M> for O