pub struct Cpu { /* private fields */ }
Expand description
Defines the host CPU Hardware.
Can later be transformed into a [Coaster hardware][hardware]. [hardware]: ../../hardware/index.html
Implementations§
Trait Implementations§
source§impl IDevice for Cpu
impl IDevice for Cpu
source§fn alloc_memory(&self, size: usize) -> Result<FlatBox, DeviceError>
fn alloc_memory(&self, size: usize) -> Result<FlatBox, DeviceError>
Allocate memory on the Device.
source§impl MemorySync for Cpu
impl MemorySync for Cpu
impl Eq for Cpu
Auto Trait Implementations§
impl RefUnwindSafe for Cpu
impl Send for Cpu
impl Sync for Cpu
impl Unpin for Cpu
impl UnwindSafe for Cpu
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