pub struct FRAME_ALLOCATOR {
__private_field: (),
}Expand description
全局帧分配器
Fields§
§__private_field: ()Methods from Deref<Target = SyncRefCell<StackFrameAllocator>>§
Sourcepub fn fork(
self: &Arc<SyncRefCell<ProcessControlBlock>>,
) -> Arc<SyncRefCell<ProcessControlBlock>>
pub fn fork( self: &Arc<SyncRefCell<ProcessControlBlock>>, ) -> Arc<SyncRefCell<ProcessControlBlock>>
Sourcepub fn exec(
self: &Arc<SyncRefCell<ProcessControlBlock>>,
app_data: &[u8],
args: Vec<String>,
)
pub fn exec( self: &Arc<SyncRefCell<ProcessControlBlock>>, app_data: &[u8], args: Vec<String>, )
Sourcepub fn inner_borrow_mut(&self) -> RefMut<'_, T>
pub fn inner_borrow_mut(&self) -> RefMut<'_, T>
Sourcepub fn inner_borrow(&self) -> Ref<'_, T>
pub fn inner_borrow(&self) -> Ref<'_, T>
Trait Implementations§
Source§impl Deref for FRAME_ALLOCATOR
impl Deref for FRAME_ALLOCATOR
Source§type Target = SyncRefCell<StackFrameAllocator>
type Target = SyncRefCell<StackFrameAllocator>
The resulting type after dereferencing.
Source§fn deref(&self) -> &SyncRefCell<StackFrameAllocator>
fn deref(&self) -> &SyncRefCell<StackFrameAllocator>
Dereferences the value.
impl LazyStatic for FRAME_ALLOCATOR
Auto Trait Implementations§
impl Freeze for FRAME_ALLOCATOR
impl RefUnwindSafe for FRAME_ALLOCATOR
impl Send for FRAME_ALLOCATOR
impl Sync for FRAME_ALLOCATOR
impl Unpin for FRAME_ALLOCATOR
impl UnwindSafe for FRAME_ALLOCATOR
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