Struct mg::StatusBar [−][src]
Trait Implementations
impl Container for StatusBar
[src]
type Container = Box
The type of the containing widget, i.e. where the child widgets will be added.
type Containers = ()
Type to contain the additional container widgets.
fn container(&self) -> &Self::Container
[src]
fn other_containers(&self) -> Self::Containers
[src]
pub fn add_widget<WIDGET>(
container: &ContainerComponent<Self>,
component: &Component<WIDGET>
) -> Container where
WIDGET: Widget,
[src]
container: &ContainerComponent<Self>,
component: &Component<WIDGET>
) -> Container where
WIDGET: Widget,
impl Update for StatusBar
[src]
type Msg = Msg
The type of the messages sent to the update()
method.
type Model = 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: Msg)
[src]
fn model(relm: &Relm<Self>, _: ()) -> Model
[src]
pub fn subscriptions(&mut self, _relm: &Relm<Self>)
[src]
impl Widget for StatusBar
[src]
fn init_view(&mut self)
[src]
fn view(relm: &Relm<Self>, __relm_model: Self::Model) -> Self
[src]
type Root = Box
The type of the root widget.
fn root(&self) -> Self::Root
[src]
pub fn on_add<W>(&self, _parent: W) where
W: IsA<Widget> + IsA<Object>,
[src]
W: IsA<Widget> + IsA<Object>,
pub fn parent_id() -> Option<&'static str>
[src]
pub fn run(model_param: Self::ModelParam) -> Result<(), ()> where
Self: 'static,
[src]
Self: 'static,
Auto Trait Implementations
impl !RefUnwindSafe for StatusBar
[src]
impl !Send for StatusBar
[src]
impl !Sync for StatusBar
[src]
impl Unpin for StatusBar
[src]
impl !UnwindSafe for StatusBar
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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 = Infallible
The type returned in the event of a conversion error.
pub 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>,