#[repr(C)]pub struct SlaveIdentity {
pub vendor_id: u32,
pub product_code: u32,
pub revision_no: u32,
pub serial_no: u32,
}Fields§
§vendor_id: u32§product_code: u32§revision_no: u32§serial_no: u32Trait Implementations§
Source§impl Clone for SlaveIdentity
impl Clone for SlaveIdentity
Source§fn clone(&self) -> SlaveIdentity
fn clone(&self) -> SlaveIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SlaveIdentity
Source§impl Debug for SlaveIdentity
impl Debug for SlaveIdentity
Source§impl Display for SlaveIdentity
impl Display for SlaveIdentity
Source§impl From<&Slave> for SlaveIdentity
impl From<&Slave> for SlaveIdentity
Auto Trait Implementations§
impl Freeze for SlaveIdentity
impl RefUnwindSafe for SlaveIdentity
impl Send for SlaveIdentity
impl Sync for SlaveIdentity
impl Unpin for SlaveIdentity
impl UnsafeUnpin for SlaveIdentity
impl UnwindSafe for SlaveIdentity
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