pub struct Map {
pub memory_start: u64,
pub memory_end: u64,
pub base_address: u64,
pub irq: u16,
pub dma: u8,
pub port: u8,
}
Fields
memory_start: u64
memory_end: u64
base_address: u64
irq: u16
dma: u8
port: u8
Trait Implementations
sourceimpl<T: AsRef<[u8]>> Parseable<MapBuffer<T>> for Map
impl<T: AsRef<[u8]>> Parseable<MapBuffer<T>> for Map
sourcefn parse(buf: &MapBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &MapBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
impl Copy for Map
impl Eq for Map
impl StructuralEq for Map
impl StructuralPartialEq for Map
Auto Trait Implementations
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more