Trait BinaryLabel

Source
pub trait BinaryLabel: Clone + Copy {
    // Required method
    fn get_value(&self) -> bool;
}

Required Methods§

Source

fn get_value(&self) -> bool

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 BinaryLabel for bool

Source§

fn get_value(&self) -> bool

Source§

impl BinaryLabel for i8

Source§

fn get_value(&self) -> bool

Source§

impl BinaryLabel for i16

Source§

fn get_value(&self) -> bool

Source§

impl BinaryLabel for i32

Source§

fn get_value(&self) -> bool

Source§

impl BinaryLabel for i64

Source§

fn get_value(&self) -> bool

Source§

impl BinaryLabel for u8

Source§

fn get_value(&self) -> bool

Source§

impl BinaryLabel for u16

Source§

fn get_value(&self) -> bool

Source§

impl BinaryLabel for u32

Source§

fn get_value(&self) -> bool

Source§

impl BinaryLabel for u64

Source§

fn get_value(&self) -> bool

Implementors§