[][src]Struct screeps::game::cpu::HeapStatistics

pub struct HeapStatistics {
    pub total_heap_size: u32,
    pub total_heap_size_executable: u32,
    pub total_physical_size: u32,
    pub used_heap_size: u32,
    pub heap_size_limit: u32,
    pub malloced_memory: u32,
    pub peak_malloced_memory: u32,
    pub does_zap_garbage: u32,
    pub externally_allocated_size: u32,
}

Fields

total_heap_size: u32total_heap_size_executable: u32total_physical_size: u32used_heap_size: u32heap_size_limit: u32malloced_memory: u32peak_malloced_memory: u32does_zap_garbage: u32externally_allocated_size: u32

Trait Implementations

impl Default for HeapStatistics[src]

impl TryFrom<HeapStatistics> for Value

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_a> TryFrom<&'_a HeapStatistics> for Value

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_a> TryFrom<&'_a mut HeapStatistics> for Value

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for HeapStatistics

type Error = ConversionError

The type returned in the event of a conversion error.

impl JsSerialize for HeapStatistics

impl JsSerializeOwned for HeapStatistics

impl<'_r> JsSerializeOwned for &'_r HeapStatistics

impl Serialize for HeapStatistics[src]

impl<'de> Deserialize<'de> for HeapStatistics[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> IntoExpectedType<U> for T where
    U: FromExpectedType<T>, 
[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.

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

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

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

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.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]