[][src]Struct acpi::PhysicalMapping

pub struct PhysicalMapping<H, T> where
    H: AcpiHandler
{ pub physical_start: usize, pub virtual_start: NonNull<T>, pub region_length: usize, pub mapped_length: usize, pub handler: H, }

Describes a physical mapping created by AcpiHandler::map_physical_region and unmapped by AcpiHandler::unmap_physical_region. The region mapped must be at least size_of::<T>() bytes, but may be bigger.

Fields

physical_start: usizevirtual_start: NonNull<T>region_length: usizemapped_length: usizehandler: H

Trait Implementations

impl<H, T> Deref for PhysicalMapping<H, T> where
    H: AcpiHandler
[src]

type Target = T

The resulting type after dereferencing.

impl<H, T> Drop for PhysicalMapping<H, T> where
    H: AcpiHandler
[src]

Auto Trait Implementations

impl<H, T> !Send for PhysicalMapping<H, T>[src]

impl<H, T> !Sync for PhysicalMapping<H, T>[src]

impl<H, T> Unpin for PhysicalMapping<H, T> where
    H: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.