Trait avr_oxide::util::datatypes::BoundedMaths
source · pub trait BoundedMaths<T, R> {
// Required method
fn bsub_isolated<const BOUND: usize>(&self, isotoken: Isolated, rhs: T) -> R;
// Provided method
fn bsub<const BOUND: usize>(&self, rhs: T) -> R { ... }
}
Expand description
Trait for bounded maths operations with wraparound
Required Methods§
fn bsub_isolated<const BOUND: usize>(&self, isotoken: Isolated, rhs: T) -> R
Provided Methods§
Object Safety§
This trait is not object safe.