Trait BitXorIdentity

Source
pub trait BitXorIdentity: Sized + BitXor<Output = Self> {
    // Required method
    fn xor_zero() -> Self;
}

Required Methods§

Source

fn xor_zero() -> 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 BitXorIdentity for bool

Source§

fn xor_zero() -> Self

Source§

impl BitXorIdentity for i8

Source§

fn xor_zero() -> Self

Source§

impl BitXorIdentity for i16

Source§

fn xor_zero() -> Self

Source§

impl BitXorIdentity for i32

Source§

fn xor_zero() -> Self

Source§

impl BitXorIdentity for i64

Source§

fn xor_zero() -> Self

Source§

impl BitXorIdentity for isize

Source§

fn xor_zero() -> Self

Source§

impl BitXorIdentity for u8

Source§

fn xor_zero() -> Self

Source§

impl BitXorIdentity for u16

Source§

fn xor_zero() -> Self

Source§

impl BitXorIdentity for u32

Source§

fn xor_zero() -> Self

Source§

impl BitXorIdentity for u64

Source§

fn xor_zero() -> Self

Source§

impl BitXorIdentity for usize

Source§

fn xor_zero() -> Self

Implementors§