Struct morseclock::Hand [−][src]
pub struct Hand<T> { /* fields omitted */ }Expand description
A clock hand
The only way to construct a hand is via the TryFrom/TryInto implementations
for Hand<Hour> and Hand<Minute>
Example
let hour = Hand::<Hour>::try_from(23);
let minute = Hand::<Minute>::try_from(59);Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Hand<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Hand<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more