widgetry::widgets::spinner

Trait SpinnerValue

Source
pub trait SpinnerValue:
    Copy
    + PartialOrd
    + Display
    + Add<Output = Self>
    + AddAssign
    + Sub<Output = Self>
    + SubAssign
where Self: Sized,
{ }

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.

Implementors§

Source§

impl<T> SpinnerValue for T
where T: Copy + PartialOrd + Display + Add<Output = Self> + AddAssign + Sub<Output = Self> + SubAssign,