Skip to main content

Attributable

Trait Attributable 

Source
pub trait Attributable {
    // Required method
    fn attributes(&self) -> &[Attribute];

    // Provided methods
    fn element_type(&self) -> Option<&str> { ... }
    fn gtk_property_get(&self) -> Option<&str> { ... }
    fn gtk_method_get_property(&self) -> Option<&str> { ... }
    fn gtk_property_set(&self) -> Option<&str> { ... }
    fn gtk_method_set_property(&self) -> Option<&str> { ... }
}

Required Methods§

Source

fn attributes(&self) -> &[Attribute]

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§