pub trait Default<Word>: Write<Word> { }
Expand description

Marker trait to opt into default blocking write implementation

Implementers of serial::Write can implement this marker trait for their type. Doing so will automatically provide the default implementation of blocking::serial::Write for the type.

Implementors

impl<C> Default<<C as AnyConfig>::Word> for Spi<C, Tx>where
    C: ValidConfig,
    Spi<C, Tx>: Write<C::Word>,

impl<C, D> Default<<C as AnyConfig>::Word> for Uart<C, D>where
    C: ValidConfig,
    D: Transmit,
    Uart<C, D>: Write<C::Word>,