Trait drone_core::reg::alias::RegionAlias [] [src]

pub trait RegionAlias<R> {
    const BASE: usize;

    unsafe fn new(address: usize) -> Self;

    fn alias_base(address: usize) -> usize { ... }
}

Register bit-band alias for a specific memory region.

Associated Constants

Start of a bit-banding alias memory region.

Required Methods

Constructs a new bit-band alias handler.

Safety

Must be called only from a register pointer instance.

Provided Methods

Returns a bit-band alias base for the address.

Implementors