Struct ruduino::legacy::serial::Serial [−][src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,