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

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.

Implementors