pub struct SlaveAddrConfig {
pub addr: OwnAddresses,
pub general_call: bool,
}
Expand description
Slave Configuration
Fields§
§addr: OwnAddresses
Target Address(es)
general_call: bool
Control if the peripheral should respond to the general call address
Implementations§
Trait Implementations§
Source§impl Clone for SlaveAddrConfig
impl Clone for SlaveAddrConfig
Source§fn clone(&self) -> SlaveAddrConfig
fn clone(&self) -> SlaveAddrConfig
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 Format for SlaveAddrConfigwhere
OwnAddresses: Format,
impl Format for SlaveAddrConfigwhere
OwnAddresses: Format,
impl Copy for SlaveAddrConfig
Auto Trait Implementations§
impl Freeze for SlaveAddrConfig
impl RefUnwindSafe for SlaveAddrConfig
impl Send for SlaveAddrConfig
impl Sync for SlaveAddrConfig
impl Unpin for SlaveAddrConfig
impl UnwindSafe for SlaveAddrConfig
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