pub trait EmblemedIconExt: IsA<EmblemedIcon> + 'static {
// Provided methods
fn add_emblem(&self, emblem: &Emblem) { ... }
fn clear_emblems(&self) { ... }
fn emblems(&self) -> Vec<Emblem> { ... }
fn icon(&self) -> Icon { ... }
fn gicon(&self) -> Option<Icon> { ... }
}
Expand description
Provided Methods§
Sourcefn add_emblem(&self, emblem: &Emblem)
fn add_emblem(&self, emblem: &Emblem)
Sourcefn clear_emblems(&self)
fn clear_emblems(&self)
Removes all the emblems from @icon.
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.