[][src]Trait rmicrobit::buttons::monitors::holding::HoldDescriptor

pub trait HoldDescriptor {
    type width: PartialOrd + AddAssign + Copy;

    const HOLD_START: Self::width;
    const HOLD_INCREMENT: Self::width;
    const HOLD_TICKS: Self::width;
}

Description of the number of ticks to treat as a 'hold'.

Associated Types

type width: PartialOrd + AddAssign + Copy

Integer type wide enough to hold the tick count

Loading content...

Associated Constants

const HOLD_START: Self::width

Zero of the width type

const HOLD_INCREMENT: Self::width

One of the width type

const HOLD_TICKS: Self::width

The number of ticks

Loading content...

Implementors

impl HoldDescriptor for DefaultHoldDescriptor[src]

type width = u8

Loading content...