Trait BitXorSpec

Source
pub trait BitXorSpec<Rhs = Self>: BitXor<Rhs> {
    // Required methods
    spec fn obeys_bitxor_spec() -> bool;
    spec fn bitxor_req(self, rhs: Rhs) -> bool
       where Self: Sized;
    spec fn bitxor_spec(self, rhs: Rhs) -> Self::Output
       where Self: Sized;
}

Required Methods§

Source

spec fn obeys_bitxor_spec() -> bool

Source

spec fn bitxor_req(self, rhs: Rhs) -> bool
where Self: Sized,

Source

spec fn bitxor_spec(self, rhs: Rhs) -> Self::Output
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Rhs, VERUS_SPEC__A: BitXor<Rhs> + ?Sized> BitXorSpec<Rhs> for VERUS_SPEC__A