Trait RelmRemoveExt

Source
pub trait RelmRemoveExt: ContainerChild {
    // Required method
    fn container_remove(&self, child: &impl AsRef<Self::Child>);
}
Expand description

Widget types which can have widgets removed from them.

Required Methods§

Source

fn container_remove(&self, child: &impl AsRef<Self::Child>)

Removes the widget from the container if it is a child of the 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 RelmRemoveExt for ActionBar

Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for Box

Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for Fixed

Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for FlowBox

Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for Grid

Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for HeaderBar

Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for InfoBar

Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for ListBox

Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for Stack

Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for ExpanderRow

Available on crate feature libadwaita only.
Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for NavigationView

Available on crate features libadwaita and gnome_45 only.
Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Source§

impl RelmRemoveExt for PreferencesGroup

Available on crate feature libadwaita only.
Source§

fn container_remove(&self, widget: &impl AsRef<Self::Child>)

Implementors§

Source§

impl<T> RelmRemoveExt for T
where T: RelmSetChildExt, T::Child: AsRef<T::Child>,