Flag

Trait Flag 

Source
pub trait Flag: Default {
    // Required method
    fn increment(&mut self);
}

Required Methods§

Source

fn increment(&mut 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 Flag for Option<()>

Source§

fn increment(&mut self)

Source§

impl Flag for bool

Source§

fn increment(&mut self)

Source§

impl Flag for i8

Source§

fn increment(&mut self)

Source§

impl Flag for i16

Source§

fn increment(&mut self)

Source§

impl Flag for i32

Source§

fn increment(&mut self)

Source§

impl Flag for i64

Source§

fn increment(&mut self)

Source§

impl Flag for isize

Source§

fn increment(&mut self)

Source§

impl Flag for u8

Source§

fn increment(&mut self)

Source§

impl Flag for u16

Source§

fn increment(&mut self)

Source§

impl Flag for u32

Source§

fn increment(&mut self)

Source§

impl Flag for u64

Source§

fn increment(&mut self)

Source§

impl Flag for usize

Source§

fn increment(&mut self)

Implementors§