struct FreeList {
len: usize,
head: Option<&'static mut FreeBlock>,
}Expand description
内存块空闲列表
Fields§
§len: usize空闲列表的长度
head: Option<&'static mut FreeBlock>空闲列表的头部节点
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FreeList
impl RefUnwindSafe for FreeList
impl Send for FreeList
impl Sync for FreeList
impl Unpin for FreeList
impl !UnwindSafe for FreeList
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