pub struct LinkedListBuddy { /* private fields */ }Expand description
侵入式链表伙伴行。
使用单向链表管理空闲内存块,适合管理小块内存。 不支持对齐分配,时间复杂度为 O(n)。
Trait Implementations§
Source§impl BuddyCollection for LinkedListBuddy
impl BuddyCollection for LinkedListBuddy
Source§impl BuddyLine for LinkedListBuddy
impl BuddyLine for LinkedListBuddy
Source§impl Debug for LinkedListBuddy
impl Debug for LinkedListBuddy
impl Send for LinkedListBuddy
必须实现 Send 才能加锁。
Auto Trait Implementations§
impl Freeze for LinkedListBuddy
impl RefUnwindSafe for LinkedListBuddy
impl !Sync for LinkedListBuddy
impl Unpin for LinkedListBuddy
impl UnsafeUnpin for LinkedListBuddy
impl UnwindSafe for LinkedListBuddy
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