pub trait FrameDeallocator<S: PageSize> {
// Required method
unsafe fn deallocate_frame(&mut self, frame: PhysFrame<S>);
}Expand description
A trait for types that can deallocate a frame of memory.
Required Methods§
Sourceunsafe fn deallocate_frame(&mut self, frame: PhysFrame<S>)
unsafe fn deallocate_frame(&mut self, frame: PhysFrame<S>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".