Struct below_view::cgroup_view::CgroupState[][src]

pub struct CgroupState {
    pub collapsed_cgroups: Rc<RefCell<HashSet<String>>>,
    pub current_selected_cgroup: String,
    pub filter: Option<String>,
    pub sort_order: Option<SingleCgroupModelFieldId>,
    pub sort_tags: HashMap<String, &'static CgroupTab>,
    pub reverse: bool,
    pub model: Rc<RefCell<CgroupModel>>,
    pub collapse_all_top_level_cgroup: bool,
}

Fields

collapsed_cgroups: Rc<RefCell<HashSet<String>>>current_selected_cgroup: Stringfilter: Option<String>sort_order: Option<SingleCgroupModelFieldId>sort_tags: HashMap<String, &'static CgroupTab>reverse: boolmodel: Rc<RefCell<CgroupModel>>collapse_all_top_level_cgroup: bool

Trait Implementations

Returns the “default value” for a type. Read more

Expose the filter data for StatsView to implement common ‘/’ fitlering.

Set the sorting tag to common state Return true on success, false if current tab doest support sorting. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Calls the given closure and return the result. Read more

Calls the given closure on self.

Calls the given closure on self.

Calls the given closure if condition == true.