Struct relm4_components::open_button::OpenButtonComponents
source · [−]pub struct OpenButtonComponents<Conf: OpenButtonConfig + 'static> { /* private fields */ }
Expand description
Components of the open button component
Trait Implementations
sourceimpl<Conf> Components<OpenButtonModel<Conf>> for OpenButtonComponents<Conf> where
Conf: OpenDialogConfig + OpenButtonConfig,
impl<Conf> Components<OpenButtonModel<Conf>> for OpenButtonComponents<Conf> where
Conf: OpenDialogConfig + OpenButtonConfig,
sourcefn init_components(
parent_model: &OpenButtonModel<Conf>,
parent_sender: Sender<OpenButtonMsg>
) -> Self
fn init_components(
parent_model: &OpenButtonModel<Conf>,
parent_sender: Sender<OpenButtonMsg>
) -> Self
Initialize your components and workers inside this function.
sourcefn connect_parent(&mut self, parent_widgets: &OpenButtonWidgets)
fn connect_parent(&mut self, parent_widgets: &OpenButtonWidgets)
Connect the components to their parent components widgets (to set the parent window for example).
Auto Trait Implementations
impl<Conf> !RefUnwindSafe for OpenButtonComponents<Conf>
impl<Conf> !Send for OpenButtonComponents<Conf>
impl<Conf> !Sync for OpenButtonComponents<Conf>
impl<Conf> Unpin for OpenButtonComponents<Conf>
impl<Conf> !UnwindSafe for OpenButtonComponents<Conf>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more