Trait BitAndIdentity

Source
pub trait BitAndIdentity: Sized + BitAnd<Output = Self> {
    // Required method
    fn all_one() -> Self;
}

Required Methods§

Source

fn all_one() -> 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 BitAndIdentity for bool

Source§

fn all_one() -> Self

Source§

impl BitAndIdentity for i8

Source§

fn all_one() -> Self

Source§

impl BitAndIdentity for i16

Source§

fn all_one() -> Self

Source§

impl BitAndIdentity for i32

Source§

fn all_one() -> Self

Source§

impl BitAndIdentity for i64

Source§

fn all_one() -> Self

Source§

impl BitAndIdentity for isize

Source§

fn all_one() -> Self

Source§

impl BitAndIdentity for u8

Source§

fn all_one() -> Self

Source§

impl BitAndIdentity for u16

Source§

fn all_one() -> Self

Source§

impl BitAndIdentity for u32

Source§

fn all_one() -> Self

Source§

impl BitAndIdentity for u64

Source§

fn all_one() -> Self

Source§

impl BitAndIdentity for usize

Source§

fn all_one() -> Self

Implementors§