Skip to main content

ProvidedExt

Trait ProvidedExt 

Source
pub trait ProvidedExt: IsA<Provided> + 'static {
    // Provided methods
    fn add_item(&self, item: &str) { ... }
    fn items(&self) -> Vec<GString> { ... }
    fn kind(&self) -> ProvidedKind { ... }
    fn has_item(&self, item: &str) -> bool { ... }
    fn set_kind(&self, kind: ProvidedKind) { ... }
}

Provided Methods§

Source

fn add_item(&self, item: &str)

Source

fn items(&self) -> Vec<GString>

Source

fn kind(&self) -> ProvidedKind

Source

fn has_item(&self, item: &str) -> bool

Source

fn set_kind(&self, kind: ProvidedKind)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§