pub trait ElementDefaults {
// Required methods
fn _get_attributes(&self) -> String;
fn _get_children(&self) -> String;
// Provided methods
fn get_attributes(&self) -> String { ... }
fn get_children(&self) -> String { ... }
}Required Methods§
fn _get_attributes(&self) -> String
fn _get_children(&self) -> String
Provided Methods§
fn get_attributes(&self) -> String
fn get_children(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".