[][src]Struct starship::configs::memory_usage::MemoryConfig

pub struct MemoryConfig<'a> {
    pub show_percentage: bool,
    pub show_swap: bool,
    pub threshold: i64,
    pub symbol: SegmentConfig<'a>,
    pub display: SegmentConfig<'a>,
    pub style: Style,
    pub disabled: bool,
}

Fields

show_percentage: boolshow_swap: boolthreshold: i64symbol: SegmentConfig<'a>display: SegmentConfig<'a>style: Styledisabled: bool

Trait Implementations

impl<'a> RootModuleConfig<'a> for MemoryConfig<'a>[src]

impl<'a> ModuleConfig<'a> for MemoryConfig<'a>[src]

impl<'a> Clone for MemoryConfig<'a>[src]

Auto Trait Implementations

impl<'a> Send for MemoryConfig<'a>

impl<'a> Sync for MemoryConfig<'a>

impl<'a> Unpin for MemoryConfig<'a>

impl<'a> UnwindSafe for MemoryConfig<'a>

impl<'a> RefUnwindSafe for MemoryConfig<'a>

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Same<T> for T

type Output = T

Should always be Self