[][src]Struct acpi::handler::PhysicalMapping

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

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: usize

Trait Implementations

impl<T> Deref for PhysicalMapping<T>[src]

type Target = T

The resulting type after dereferencing.

Auto Trait Implementations

impl<T> !Send for PhysicalMapping<T>

impl<T> !Sync for PhysicalMapping<T>

impl<T> Unpin for PhysicalMapping<T>

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.