[−][src]Struct minidsp::commands::MemoryView
A contiguous bytes view read from the device
Fields
base: u16data: BytesImplementations
impl MemoryView[src]
pub fn read_at(&self, addr: u16, len: u8) -> &[u8][src]
pub fn read_u8(&self, addr: u16) -> u8[src]
pub fn read_u16(&self, addr: u16) -> u16[src]
Trait Implementations
impl ExtendView for MemoryView[src]
pub fn extend_with(&mut self, other: Self) -> Result<(), ExtendError>[src]
impl UnaryResponse for MemoryView[src]
pub fn from_packet(packet: Bytes) -> Self[src]
Auto Trait Implementations
impl RefUnwindSafe for MemoryView[src]
impl Send for MemoryView[src]
impl Sync for MemoryView[src]
impl Unpin for MemoryView[src]
impl UnwindSafe for MemoryView[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,