Struct slabmalloc::Rawlink
source · pub struct Rawlink<T> { /* private fields */ }
Expand description
Rawlink is a type like Option<T>
but for holding a raw pointer.
We use it to link AllocablePages together. You probably won’t need to use this type if you’re not implementing AllocablePage for a custom page-size.
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Rawlink<T>where T: RefUnwindSafe,
impl<T> !Send for Rawlink<T>
impl<T> !Sync for Rawlink<T>
impl<T> Unpin for Rawlink<T>
impl<T> UnwindSafe for Rawlink<T>where T: RefUnwindSafe,
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