pub trait RelmContainerExt: ContainerChild {
// Required method
fn container_add(&self, widget: &impl AsRef<Self::Child>);
}Expand description
Widget types which can have widgets attached to them.
Required Methods§
Sourcefn container_add(&self, widget: &impl AsRef<Self::Child>)
fn container_add(&self, widget: &impl AsRef<Self::Child>)
Add widget as child to container.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl RelmContainerExt for Box
impl RelmContainerExt for Box
fn container_add(&self, widget: &impl AsRef<<Box as ContainerChild>::Child>)
Source§impl RelmContainerExt for Dialog
impl RelmContainerExt for Dialog
fn container_add(&self, widget: &impl AsRef<Widget>)
Source§impl RelmContainerExt for FlowBox
Available on crate feature gnome_42 only.
impl RelmContainerExt for FlowBox
Available on crate feature
gnome_42 only.fn container_add(&self, widget: &impl AsRef<<FlowBox as ContainerChild>::Child>)
Source§impl RelmContainerExt for InfoBar
impl RelmContainerExt for InfoBar
fn container_add(&self, widget: &impl AsRef<Widget>)
Source§impl RelmContainerExt for ListBox
impl RelmContainerExt for ListBox
fn container_add(&self, widget: &impl AsRef<<ListBox as ContainerChild>::Child>)
Source§impl RelmContainerExt for Stack
impl RelmContainerExt for Stack
fn container_add(&self, widget: &impl AsRef<Widget>)
Source§impl RelmContainerExt for Carousel
Available on crate feature libadwaita only.
impl RelmContainerExt for Carousel
Available on crate feature
libadwaita only.fn container_add( &self, widget: &impl AsRef<<Carousel as ContainerChild>::Child>, )
Source§impl RelmContainerExt for Leaflet
Available on crate feature libadwaita only.
impl RelmContainerExt for Leaflet
Available on crate feature
libadwaita only.fn container_add(&self, widget: &impl AsRef<<Leaflet as ContainerChild>::Child>)
fn container_add(&self, child: &impl AsRef<NavigationPage>)
Source§impl RelmContainerExt for PreferencesGroup
Available on crate feature libadwaita only.
impl RelmContainerExt for PreferencesGroup
Available on crate feature
libadwaita only.fn container_add(&self, widget: &impl AsRef<Widget>)
Source§impl RelmContainerExt for PreferencesPage
Available on crate feature libadwaita only.
impl RelmContainerExt for PreferencesPage
Available on crate feature
libadwaita only.fn container_add(&self, child: &impl AsRef<PreferencesGroup>)
Source§impl RelmContainerExt for Squeezer
Available on crate feature libadwaita only.
impl RelmContainerExt for Squeezer
Available on crate feature
libadwaita only.fn container_add(&self, widget: &impl AsRef<Widget>)
Source§impl RelmContainerExt for TabView
Available on crate feature libadwaita only.
impl RelmContainerExt for TabView
Available on crate feature
libadwaita only.fn container_add(&self, widget: &impl AsRef<<TabView as ContainerChild>::Child>)
Source§impl RelmContainerExt for Frame
Available on crate feature libpanel only.
impl RelmContainerExt for Frame
Available on crate feature
libpanel only.fn container_add(&self, child: &impl AsRef<Widget>)
Source§impl RelmContainerExt for Paned
Available on crate feature libpanel only.
impl RelmContainerExt for Paned
Available on crate feature
libpanel only.