pub struct SerialPort {
pub addr: PhysAddr,
pub size: Option<usize>,
/* private fields */
}
Fields§
§addr: PhysAddr
§size: Option<usize>
Implementations§
Trait Implementations§
Source§impl Clone for SerialPort
impl Clone for SerialPort
Source§fn clone(&self) -> SerialPort
fn clone(&self) -> SerialPort
Returns a copy 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 Debug for SerialPort
impl Debug for SerialPort
impl Copy for SerialPort
Auto Trait Implementations§
impl Freeze for SerialPort
impl RefUnwindSafe for SerialPort
impl Send for SerialPort
impl Sync for SerialPort
impl Unpin for SerialPort
impl UnwindSafe for SerialPort
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
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