Trait NotSpecImpl

Source
pub trait NotSpecImpl: Not {
    // Required methods
    exec fn obeys_not_spec() -> bool;
    exec fn not_req(self) -> bool
       where Self: Sized;
    exec fn not_spec(self) -> Self::Output
       where Self: Sized;
}

Required Methods§

Source

exec fn obeys_not_spec() -> bool

Source

exec fn not_req(self) -> bool
where Self: Sized,

Source

exec fn not_spec(self) -> 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 NotSpecImpl for bool

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for i8

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for i16

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for i32

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for i64

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for i128

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for isize

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for u8

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for u16

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for u32

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for u64

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for u128

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }
Source§

impl NotSpecImpl for usize

Source§

open spec fn obeys_not_spec() -> bool

{ true }
Source§

open spec fn not_req(self) -> bool

{ true }
Source§

open spec fn not_spec(self) -> Self::Output

{ !self }

Implementors§