pub struct MultiReadSpec {
pub area: MemoryArea,
pub address: u16,
pub bit: Option<u8>,
}Expand description
Specification for reading from multiple memory areas.
Fields§
§area: MemoryAreaMemory area to read from.
address: u16Word address.
bit: Option<u8>Optional bit position (None for word, Some(n) for bit n).
Trait Implementations§
Source§impl Clone for MultiReadSpec
impl Clone for MultiReadSpec
Source§fn clone(&self) -> MultiReadSpec
fn clone(&self) -> MultiReadSpec
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 moreAuto Trait Implementations§
impl Freeze for MultiReadSpec
impl RefUnwindSafe for MultiReadSpec
impl Send for MultiReadSpec
impl Sync for MultiReadSpec
impl Unpin for MultiReadSpec
impl UnsafeUnpin for MultiReadSpec
impl UnwindSafe for MultiReadSpec
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