[−][src]Struct screeps::game::cpu::HeapStatistics
Fields
total_heap_size: u32
total_heap_size_executable: u32
total_physical_size: u32
used_heap_size: u32
heap_size_limit: u32
malloced_memory: u32
peak_malloced_memory: u32
does_zap_garbage: u32
externally_allocated_size: u32
Trait Implementations
impl Default for HeapStatistics
[src]
fn default() -> HeapStatistics
[src]
impl TryFrom<HeapStatistics> for Value
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: HeapStatistics) -> Result<Self, Self::Error>
impl<'_a> TryFrom<&'_a HeapStatistics> for Value
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'_a HeapStatistics) -> Result<Self, Self::Error>
impl<'_a> TryFrom<&'_a mut HeapStatistics> for Value
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'_a mut HeapStatistics) -> Result<Self, Self::Error>
impl TryFrom<Value> for HeapStatistics
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>
impl JsSerialize for HeapStatistics
fn _into_js<'x>(&'x self) -> SerializedValue<'x>
impl JsSerializeOwned for HeapStatistics
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
impl<'_r> JsSerializeOwned for &'_r HeapStatistics
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
impl Serialize for HeapStatistics
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for HeapStatistics
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for HeapStatistics
impl Sync for HeapStatistics
impl Send for HeapStatistics
impl RefUnwindSafe for HeapStatistics
impl UnwindSafe for HeapStatistics
Blanket Implementations
impl<T, U> IntoExpectedType<U> for T where
U: FromExpectedType<T>,
[src]
U: FromExpectedType<T>,
fn into_expected_type(Self) -> Result<U, ConversionError>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,