pub enum NewlineMode {
Binary,
SwapLFtoCRLF,
}Expand description
writeln!() emits LF chars, so this is useful if you’re writing text with your UART
Variants§
Trait Implementations§
Source§impl Clone for NewlineMode
impl Clone for NewlineMode
Source§fn clone(&self) -> NewlineMode
fn clone(&self) -> NewlineMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for NewlineMode
impl PartialEq for NewlineMode
impl Copy for NewlineMode
impl StructuralPartialEq for NewlineMode
Auto Trait Implementations§
impl Freeze for NewlineMode
impl RefUnwindSafe for NewlineMode
impl Send for NewlineMode
impl Sync for NewlineMode
impl Unpin for NewlineMode
impl UnwindSafe for NewlineMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more