Trait Element Class Ext
Source pub unsafe trait ElementClassExt {
// Provided methods
fn metadata<'a>(&self, key: &str) -> Option<&'a str> { ... }
fn pad_template(&self, name: &str) -> Option<PadTemplate> { ... }
fn pad_template_list(&self) -> List<PadTemplate> { ... }
}Provided Methods§
Sourcefn pad_template(&self, name: &str) -> Option<PadTemplate>
fn pad_template(&self, name: &str) -> Option<PadTemplate>
GInstanceInitFunc here.
§name
the name of the PadTemplate to get.
§Returns
the PadTemplate with the
given name, or None if none was found. No unreferencing is
necessary.
Sourcefn pad_template_list(&self) -> List<PadTemplate>
fn pad_template_list(&self) -> List<PadTemplate>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".