[][src]Enum small_morse::DelayType

pub enum DelayType {
    Regular,
    Farnsworth,
}

DelayType indicates whether a duration should be slowed down when using the Farnsworth method of learning Morse code.

When learning Morse code, it is common to slow down the delays between characters and words, while keeping the speed within an individual character fast. This is known as the "Farnsworth" method for learning morse code.

Variants

Regular

The delay should not be slowed down to the slower Farnsworth speed

Farnsworth

The delay should be slowed down to the generally slower Farnsworth speed

Trait Implementations

impl Clone for DelayType[src]

impl Copy for DelayType[src]

impl Debug for DelayType[src]

impl Eq for DelayType[src]

impl Hash for DelayType[src]

impl PartialEq<DelayType> for DelayType[src]

impl StructuralEq for DelayType[src]

impl StructuralPartialEq for DelayType[src]

Auto Trait Implementations

impl Send for DelayType

impl Sync for DelayType

impl Unpin for DelayType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.