Trait morseclock::ClockHand[][src]

pub trait ClockHand {
    const GRANULARITY: u8;
    const MAX: u8;

    fn to_long_short(value: u8) -> (u8, u8);
}
Expand description

A trait describing the properties of a clock hand

Associated Constants

The granularity of the given hand

The maximum value of the given hand

Required methods

Converts a hand value into a number of long and short symbols

Implementors