Trait BitOr

Source
pub unsafe trait BitOr<Rhs = Self>: BitOr<Rhs> { }
Expand description

This trait is empty declaration of ::core::ops::BitOr to be used with newer_type::implement.

§Example

#[implement(for<Rhs> newer_type_std::ops::BitOr<Rhs>)]
struct MyStruct {
    slot: usize
}

§Safety

should be implemented by newer_type::implement

Implementors§