DomElementExt

Trait DomElementExt 

Source
pub trait DomElementExt:
    IsA<DomElement>
    + Sealed
    + 'static {
    // Provided methods
    fn attribute(&self, name: &str) -> Option<GString> { ... }
    fn tag_name(&self) -> Option<GString> { ... }
    fn set_attribute(&self, name: &str, attribute_value: &str) { ... }
}
Expand description

Trait containing all DomElement methods.

§Implementors

DomElement, GcNode

Provided Methods§

Source

fn attribute(&self, name: &str) -> Option<GString>

Source

fn tag_name(&self) -> Option<GString>

Source

fn set_attribute(&self, name: &str, attribute_value: &str)

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.

Implementors§