pub struct SecondaryAddress {
pub address: u8,
pub mask: SecondaryAddressMask,
}Fields§
§address: u8§mask: SecondaryAddressMaskImplementations§
Source§impl SecondaryAddress
impl SecondaryAddress
pub const fn new(address: u8, mask: SecondaryAddressMask) -> Self
Trait Implementations§
Source§impl Clone for SecondaryAddress
impl Clone for SecondaryAddress
Source§fn clone(&self) -> SecondaryAddress
fn clone(&self) -> SecondaryAddress
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 SecondaryAddress
Source§impl Debug for SecondaryAddress
impl Debug for SecondaryAddress
impl Eq for SecondaryAddress
Source§impl PartialEq for SecondaryAddress
impl PartialEq for SecondaryAddress
Source§fn eq(&self, other: &SecondaryAddress) -> bool
fn eq(&self, other: &SecondaryAddress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SecondaryAddress
Auto Trait Implementations§
impl Freeze for SecondaryAddress
impl RefUnwindSafe for SecondaryAddress
impl Send for SecondaryAddress
impl Sync for SecondaryAddress
impl Unpin for SecondaryAddress
impl UnsafeUnpin for SecondaryAddress
impl UnwindSafe for SecondaryAddress
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