Struct mmtk::util::heap::HeapMeta[][src]

pub struct HeapMeta {
    pub heap_cursor: Address,
    pub heap_limit: Address,
    pub total_pages: AtomicUsize,
}

Fields

heap_cursor: Addressheap_limit: Addresstotal_pages: AtomicUsize

Implementations

impl HeapMeta[src]

pub fn new(start: Address, end: Address) -> Self[src]

pub fn reserve(&mut self, extent: usize, top: bool) -> Address[src]

pub fn get_discontig_start(&self) -> Address[src]

pub fn get_discontig_end(&self) -> Address[src]

pub fn get_total_pages(&self) -> usize[src]

Auto Trait Implementations

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[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.