pub struct Identification {
pub part_number: u16,
pub designer: u8,
pub revision_number: u8,
pub configuration: u8,
}Expand description
UART peripheral identification structure
Fields§
§part_number: u16§designer: u8§revision_number: u8§configuration: u8Implementations§
Trait Implementations§
Source§impl Clone for Identification
impl Clone for Identification
Source§fn clone(&self) -> Identification
fn clone(&self) -> Identification
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 Debug for Identification
impl Debug for Identification
Source§impl PartialEq for Identification
impl PartialEq for Identification
impl Copy for Identification
impl Eq for Identification
impl StructuralPartialEq for Identification
Auto Trait Implementations§
impl Freeze for Identification
impl RefUnwindSafe for Identification
impl Send for Identification
impl Sync for Identification
impl Unpin for Identification
impl UnwindSafe for Identification
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