[][src]Trait x86_64::structures::paging::FrameAllocator

pub trait FrameAllocator<S: PageSize> {
    fn alloc(&mut self) -> Option<PhysFrame<S>>;
}

A trait for types that can allocate a frame of memory.

Required methods

Allocate a frame of the appropriate size and return it if possible.

Loading content...

Implementors

Loading content...