pub trait BitAndSpecImpl<Rhs = Self>: BitAnd<Rhs> {
// Required methods
exec fn obeys_bitand_spec() -> bool;
exec fn bitand_req(self, rhs: Rhs) -> bool
where Self: Sized;
exec fn bitand_spec(self, rhs: Rhs) -> Self::Output
where Self: Sized;
}
Required Methods§
Sourceexec fn obeys_bitand_spec() -> bool
exec fn obeys_bitand_spec() -> bool
Sourceexec fn bitand_req(self, rhs: Rhs) -> boolwhere
Self: Sized,
exec fn bitand_req(self, rhs: Rhs) -> boolwhere
Self: Sized,
Sourceexec fn bitand_spec(self, rhs: Rhs) -> Self::Outputwhere
Self: Sized,
exec fn bitand_spec(self, rhs: Rhs) -> Self::Outputwhere
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 BitAndSpecImpl for i8
impl BitAndSpecImpl for i8
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: i8) -> bool
open spec fn bitand_req(self, rhs: i8) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: i8) -> Self::Output
open spec fn bitand_spec(self, rhs: i8) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for i16
impl BitAndSpecImpl for i16
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: i16) -> bool
open spec fn bitand_req(self, rhs: i16) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: i16) -> Self::Output
open spec fn bitand_spec(self, rhs: i16) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for i32
impl BitAndSpecImpl for i32
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: i32) -> bool
open spec fn bitand_req(self, rhs: i32) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: i32) -> Self::Output
open spec fn bitand_spec(self, rhs: i32) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for i64
impl BitAndSpecImpl for i64
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: i64) -> bool
open spec fn bitand_req(self, rhs: i64) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: i64) -> Self::Output
open spec fn bitand_spec(self, rhs: i64) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for i128
impl BitAndSpecImpl for i128
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: i128) -> bool
open spec fn bitand_req(self, rhs: i128) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: i128) -> Self::Output
open spec fn bitand_spec(self, rhs: i128) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for isize
impl BitAndSpecImpl for isize
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: isize) -> bool
open spec fn bitand_req(self, rhs: isize) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: isize) -> Self::Output
open spec fn bitand_spec(self, rhs: isize) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for u8
impl BitAndSpecImpl for u8
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: u8) -> bool
open spec fn bitand_req(self, rhs: u8) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: u8) -> Self::Output
open spec fn bitand_spec(self, rhs: u8) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for u16
impl BitAndSpecImpl for u16
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: u16) -> bool
open spec fn bitand_req(self, rhs: u16) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: u16) -> Self::Output
open spec fn bitand_spec(self, rhs: u16) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for u32
impl BitAndSpecImpl for u32
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: u32) -> bool
open spec fn bitand_req(self, rhs: u32) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: u32) -> Self::Output
open spec fn bitand_spec(self, rhs: u32) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for u64
impl BitAndSpecImpl for u64
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: u64) -> bool
open spec fn bitand_req(self, rhs: u64) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: u64) -> Self::Output
open spec fn bitand_spec(self, rhs: u64) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for u128
impl BitAndSpecImpl for u128
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: u128) -> bool
open spec fn bitand_req(self, rhs: u128) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: u128) -> Self::Output
open spec fn bitand_spec(self, rhs: u128) -> Self::Output
{ self & rhs }
Source§impl BitAndSpecImpl for usize
impl BitAndSpecImpl for usize
Source§open spec fn obeys_bitand_spec() -> bool
open spec fn obeys_bitand_spec() -> bool
{ true }
Source§open spec fn bitand_req(self, rhs: usize) -> bool
open spec fn bitand_req(self, rhs: usize) -> bool
{ true }
Source§open spec fn bitand_spec(self, rhs: usize) -> Self::Output
open spec fn bitand_spec(self, rhs: usize) -> Self::Output
{ self & rhs }