Struct oxygengine::core::scripting::intuicio::data::data_heap::DataHeapMemoryPage
pub struct DataHeapMemoryPage { /* private fields */ }
Implementations§
§impl DataHeapMemoryPage
impl DataHeapMemoryPage
pub fn new(capacity: usize) -> DataHeapMemoryPage
pub fn capacity(&self) -> usize
pub fn size(&self) -> usize
pub fn available_size(&self) -> usize
pub fn has_object<T>(&self, data: &DataHeapBox<T>) -> bool
pub fn alloc<T>( page: &Arc<RwLock<DataHeapMemoryPage>, Global>, value: T ) -> Option<DataHeapBox<T>>where T: Finalize,
pub unsafe fn alloc_uninitialized<T>(
page: &Arc<RwLock<DataHeapMemoryPage>, Global>
) -> Option<DataHeapBox<T>>where
T: Finalize,
pub unsafe fn alloc_uninitialized<T>( page: &Arc<RwLock<DataHeapMemoryPage>, Global> ) -> Option<DataHeapBox<T>>where T: Finalize,
pub unsafe fn leak(
page: &Arc<RwLock<DataHeapMemoryPage>, Global>,
data_pointer: *mut (),
id: ID<DataHeapMemoryPage>
) -> unsafe fn(_: *mut ())
pub unsafe fn leak( page: &Arc<RwLock<DataHeapMemoryPage>, Global>, data_pointer: *mut (), id: ID<DataHeapMemoryPage> ) -> unsafe fn(_: *mut ())
pub fn stats(&self) -> DataHeapStatsPage
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DataHeapMemoryPage
impl Send for DataHeapMemoryPage
impl Sync for DataHeapMemoryPage
impl Unpin for DataHeapMemoryPage
impl UnwindSafe for DataHeapMemoryPage
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