Trait mem::MemoryCreator
[−]
[src]
pub trait MemoryCreator<T> { fn new(size: Addr) -> T; }
Simple new(size)
trait for backends.
Required Methods
fn new(size: Addr) -> T
Returns a MemoryBlock
of size size
.
size
being the highest address,
NOT number of addresses.