[][src]Struct sunrise_bootstrap::frame_alloc::AllocatorBitmap

struct AllocatorBitmap {
    memory_bitmap: [u8; 64],
    initialized: bool,
}

A big bitmap denoting for every frame if it is free or not

1 is free, 0 is already allocated/reserved This may seem backward, but this way when we start the array is filled with 0(reserved) and it can be put in the bss by the compiler

Fields

memory_bitmap: [u8; 64]initialized: bool

Auto Trait Implementations

impl RefUnwindSafe for AllocatorBitmap

impl Send for AllocatorBitmap

impl Sync for AllocatorBitmap

impl Unpin for AllocatorBitmap

impl UnwindSafe for AllocatorBitmap

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.