pub struct AddressSpace<T> { /* private fields */ }Implementations§
Source§impl<T> AddressSpace<T>where
T: PartialOrd,
impl<T> AddressSpace<T>where
T: PartialOrd,
pub fn new_memory( cacheable: AddressSpaceCacheable, read_write: bool, min: T, max: T, ) -> Result<Self, AmlError>
pub fn new_io(min: T, max: T) -> Result<Self, AmlError>
pub fn new_bus_number(min: T, max: T) -> Result<Self, AmlError>
Trait Implementations§
Source§impl Aml for AddressSpace<u16>
impl Aml for AddressSpace<u16>
Source§impl Aml for AddressSpace<u32>
impl Aml for AddressSpace<u32>
Auto Trait Implementations§
impl<T> Freeze for AddressSpace<T>where
T: Freeze,
impl<T> RefUnwindSafe for AddressSpace<T>where
T: RefUnwindSafe,
impl<T> Send for AddressSpace<T>where
T: Send,
impl<T> Sync for AddressSpace<T>where
T: Sync,
impl<T> Unpin for AddressSpace<T>where
T: Unpin,
impl<T> UnwindSafe for AddressSpace<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more