pub struct MemoryBlock<B: Backend> { /* private fields */ }
Expand description
Memory block allocated from Heaps
.
Implementations§
Source§impl<B: Backend> MemoryBlock<B>
impl<B: Backend> MemoryBlock<B>
Sourcepub fn memory_type(&self) -> u32
pub fn memory_type(&self) -> u32
Get memory type id.
Trait Implementations§
Source§impl<B: Backend> Block<B> for MemoryBlock<B>
impl<B: Backend> Block<B> for MemoryBlock<B>
Source§fn properties(&self) -> Properties
fn properties(&self) -> Properties
Get memory properties of the block.
Auto Trait Implementations§
impl<B> Freeze for MemoryBlock<B>
impl<B> RefUnwindSafe for MemoryBlock<B>
impl<B> Send for MemoryBlock<B>
impl<B> Sync for MemoryBlock<B>
impl<B> Unpin for MemoryBlock<B>
impl<B> UnwindSafe for MemoryBlock<B>
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