Trait BitOrSpecImpl

Source
pub trait BitOrSpecImpl<Rhs = Self>: BitOr<Rhs> {
    // Required methods
    exec fn obeys_bitor_spec() -> bool;
    exec fn bitor_req(self, rhs: Rhs) -> bool
       where Self: Sized;
    exec fn bitor_spec(self, rhs: Rhs) -> Self::Output
       where Self: Sized;
}

Required Methods§

Source

exec fn obeys_bitor_spec() -> bool

Source

exec fn bitor_req(self, rhs: Rhs) -> bool
where Self: Sized,

Source

exec fn bitor_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.

Implementations on Foreign Types§

Source§

impl BitOrSpecImpl for i8

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: i8) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: i8) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for i16

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: i16) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: i16) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for i32

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: i32) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: i32) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for i64

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: i64) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: i64) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for i128

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: i128) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: i128) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for isize

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: isize) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: isize) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for u8

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: u8) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: u8) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for u16

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: u16) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: u16) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for u32

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: u32) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: u32) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for u64

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: u64) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: u64) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for u128

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: u128) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: u128) -> Self::Output

{ self | rhs }
Source§

impl BitOrSpecImpl for usize

Source§

open spec fn obeys_bitor_spec() -> bool

{ true }
Source§

open spec fn bitor_req(self, rhs: usize) -> bool

{ true }
Source§

open spec fn bitor_spec(self, rhs: usize) -> Self::Output

{ self | rhs }

Implementors§