#[repr(C)]pub struct IMemoryStore {
pub __base: IMemoryStoreBase,
}
Expand description
Memory store interface extending IMemoryStoreBase
.
Fields§
§__base: IMemoryStoreBase
Implementations§
Source§impl IMemoryStore
impl IMemoryStore
Sourcepub const RTTI: VariantID = RTTI_IMemoryStore
pub const RTTI: VariantID = RTTI_IMemoryStore
Address & Offset of the runtime type information (RTTI) identifier.
Sourcepub const VTABLE: [VariantID; 1] = VTABLE_IMemoryStore
pub const VTABLE: [VariantID; 1] = VTABLE_IMemoryStore
Address & Offset of the virtual function table.
pub const fn new() -> Self
Sourcepub fn allocate_align(&mut self, size: usize, alignment: u32) -> *mut u8
pub fn allocate_align(&mut self, size: usize, alignment: u32) -> *mut u8
Allocate aligned memory.
Sourcepub fn deallocate_align(&mut self, block: &mut *mut u8)
pub fn deallocate_align(&mut self, block: &mut *mut u8)
Deallocate aligned memory.
Trait Implementations§
Source§impl Clone for IMemoryStore
impl Clone for IMemoryStore
Source§fn clone(&self) -> IMemoryStore
fn clone(&self) -> IMemoryStore
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IMemoryStore
impl Debug for IMemoryStore
Source§impl Default for IMemoryStore
impl Default for IMemoryStore
Source§impl PartialEq for IMemoryStore
impl PartialEq for IMemoryStore
impl StructuralPartialEq for IMemoryStore
Auto Trait Implementations§
impl Freeze for IMemoryStore
impl RefUnwindSafe for IMemoryStore
impl !Send for IMemoryStore
impl !Sync for IMemoryStore
impl Unpin for IMemoryStore
impl UnwindSafe for IMemoryStore
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