Skip to main content

DisjointBitOr

Trait DisjointBitOr 

Source
pub trait DisjointBitOr: Copy + 'static {
    // Required method
    unsafe fn disjoint_bitor(self, other: Self) -> Self;
}
🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)

Required Methods§

Source

unsafe fn disjoint_bitor(self, other: Self) -> Self

🔬This is a nightly-only experimental API. (core_intrinsics_fallbacks)

We just need the trait indirection to handle different types since calling intrinsics with generics doesn’t work.

§Safety

See super::disjoint_bitor, with self corresponding to a and other corresponding to b.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§