Trait hal::memory::FrameSize

source ·
pub trait FrameSize: Clone + Copy + PartialEq + Eq + PartialOrd + Ord + Debug {
    const SIZE: Bytes;

    fn frames_needed(bytes: Bytes) -> Bytes { ... }
}
Expand description

This trait is implemented by a number of marker types, one for each size of frame and page. Different size types are defined depending on the target architecture.

Required Associated Constants§

Provided Methods§

Implementors§