Struct ruduino::legacy::serial::Serial[][src]

pub struct Serial { /* fields omitted */ }

A serial connection. WARNING The current implementation of this will only work on ATmega328.

Implementations

impl Serial[src]

pub fn new(ubrr: u16) -> Self[src]

pub fn character_size(mut self: Self, character_size: CharacterSize) -> Self[src]

pub fn mode(mut self: Self, mode: Mode) -> Self[src]

pub fn parity(mut self: Self, parity: Parity) -> Self[src]

pub fn stop_bits(mut self: Self, stop_bits: StopBits) -> Self[src]

pub fn configure(self)[src]

Auto Trait Implementations

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.