[][src]Struct screeps_profiler::screeps_profiling::RawMemoryProfiler

pub struct RawMemoryProfiler {
    pub memory_segment: u8,
    // some fields omitted
}

Fields

memory_segment: u8

Where to save this state when dropping Defaults to 0

Methods

impl RawMemoryProfiler[src]

pub fn read_from_segment_or_default(_memory_segment: u8) -> Self[src]

Trait Implementations

impl Drop for RawMemoryProfiler[src]

impl Default for RawMemoryProfiler[src]

impl Serialize for RawMemoryProfiler[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T, U> IntoExpectedType<U> for T where
    U: FromExpectedType<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.