Trait avr_oxide::util::datatypes::BoundedIncDec

source ·
pub trait BoundedIncDec {
    // Required methods
    fn binc_isolated<const BOUND: usize>(&mut self, isotoken: Isolated);
    fn bdec_isolated<const BOUND: usize>(&mut self, isotoken: Isolated);

    // Provided methods
    fn binc<const BOUND: usize>(&mut self) { ... }
    fn bdec<const BOUND: usize>(&mut self) { ... }
}
Expand description

Trait for bounded increment/decrement

Required Methods§

source

fn binc_isolated<const BOUND: usize>(&mut self, isotoken: Isolated)

source

fn bdec_isolated<const BOUND: usize>(&mut self, isotoken: Isolated)

Provided Methods§

source

fn binc<const BOUND: usize>(&mut self)

source

fn bdec<const BOUND: usize>(&mut self)

Object Safety§

This trait is not object safe.

Implementors§