Skip to main content

BitAndAssignSpecImpl

Trait BitAndAssignSpecImpl 

Source
pub trait BitAndAssignSpecImpl<Rhs = Self>: BitAndAssign<Rhs> {
    // Required methods
    exec fn obeys_bitand_assign_spec() -> bool;
    exec fn bitand_assign_req(&self, rhs: Rhs) -> bool;
    exec fn bitand_assign_spec(&self, rhs: Rhs) -> &Self;
}

Required Methods§

Source

exec fn obeys_bitand_assign_spec() -> bool

Source

exec fn bitand_assign_req(&self, rhs: Rhs) -> bool

Source

exec fn bitand_assign_spec(&self, rhs: Rhs) -> &Self

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 BitAndAssignSpecImpl for i8

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: i8) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for i16

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: i16) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for i32

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: i32) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for i64

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: i64) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for i128

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: i128) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for isize

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: isize) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for u8

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: u8) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for u16

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: u16) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for u32

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: u32) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for u64

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: u64) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for u128

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: u128) -> &Self

{ &(self & rhs) }
Source§

impl BitAndAssignSpecImpl for usize

Source§

open spec fn obeys_bitand_assign_spec() -> bool

{ true }
Source§

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

{ true }
Source§

open spec fn bitand_assign_spec(&self, rhs: usize) -> &Self

{ &(self & rhs) }

Implementors§