[−][src]Struct mg::completion::completion_view::CompletionView
Trait Implementations
impl Widget for CompletionView
[src]
A widget to show completions for the command entry.
fn init_view(&mut self)
[src]
fn view(relm: &Relm<Self>, __relm_model: Self::Model) -> Self
[src]
type Root = ScrolledWindow
The type of the root widget.
fn root(&self) -> Self::Root
[src]
fn on_add<W>(&self, _parent: W) where
W: IsA<Widget> + IsA<Object>,
[src]
W: IsA<Widget> + IsA<Object>,
fn parent_id() -> Option<&'static str>
[src]
fn run(model_param: Self::ModelParam) -> Result<(), ()> where
Self: 'static,
[src]
Self: 'static,
impl Update for CompletionView
[src]
type Msg = Msg
The type of the messages sent to the update()
method.
type Model = Model
The type of the model.
type ModelParam = Completers
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>, completers: Completers) -> Model
[src]
fn subscriptions(&mut self, _relm: &Relm<Self>)
[src]
impl WidgetTest for CompletionView
[src]
type Widgets = __CompletionViewWidgets
Represents the structure holding all the widgets. Useful for tests.
fn get_widgets(&self) -> __CompletionViewWidgets
[src]
Auto Trait Implementations
impl !Send for CompletionView
impl !Sync for CompletionView
impl Unpin for CompletionView
impl !UnwindSafe for CompletionView
impl !RefUnwindSafe for CompletionView
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,