Struct bitbar::Menu [−][src]
Expand description
Tuple Fields
0: Vec<MenuItem>
Trait Implementations
This provides the main functionality of this crate: rendering a BitBar plugin.
Note that the output this generates already includes a trailing newline, so it should be used with print!
instead of println!
.
Extends a collection with the contents of an iterator. Read more
🔬 This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
🔬 This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Performs the conversion.
Creates a value from an iterator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Menu
impl UnwindSafe for Menu
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.