[−][src]Struct mg::StatusBarItem
Trait Implementations
impl Widget for StatusBarItem
[src]
A status bar text item.
fn on_add<W: IsA<Widget> + IsA<Object>>(&self, parent: W)
[src]
fn view(relm: &Relm<Self>, __relm_model: Self::Model) -> Self
[src]
type Root = Label
The type of the root widget.
fn parent_id() -> Option<&'static str>
[src]
fn root(&self) -> Self::Root
[src]
fn init_view(&mut self)
[src]
fn run(model_param: Self::ModelParam) -> Result<(), ()> where
Self: 'static,
[src]
Self: 'static,
impl Update for StatusBarItem
[src]
type Msg = ItemMsg
The type of the messages sent to the update()
method.
type Model = ()
The type of the model.
type ModelParam = ()
The type of the parameter of the model() function used to initialize the model.
fn update(&mut self, msg: ItemMsg)
[src]
fn model(_: &Relm<Self>, _: ())
[src]
fn subscriptions(&mut self, _relm: &Relm<Self>)
[src]
impl WidgetTest for StatusBarItem
[src]
type Widgets = __StatusBarItemWidgets
Represents the structure holding all the widgets. Useful for tests.
fn get_widgets(&self) -> __StatusBarItemWidgets
[src]
Auto Trait Implementations
impl !Send for StatusBarItem
impl !Sync for StatusBarItem
impl Unpin for StatusBarItem
impl UnwindSafe for StatusBarItem
impl RefUnwindSafe for StatusBarItem
Blanket Implementations
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 = !
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,