[][src]Trait mrml::mjml::prelude::ComponentWithAttributes

pub trait ComponentWithAttributes: Component {
    fn source_attributes(&self) -> Option<&HashMap<String, String>>;

    fn default_attribute(&self, _key: &str) -> Option<String> { ... }
fn get_source_attribute(&self, key: &str) -> Option<String> { ... }
fn get_attribute(&self, key: &str) -> Option<String> { ... } }

Required methods

Loading content...

Provided methods

fn default_attribute(&self, _key: &str) -> Option<String>

fn get_source_attribute(&self, key: &str) -> Option<String>

fn get_attribute(&self, key: &str) -> Option<String>

Loading content...

Implementors

impl ComponentWithAttributes for BodyElement[src]

impl ComponentWithAttributes for RawElement[src]

impl ComponentWithAttributes for MJBody[src]

impl ComponentWithAttributes for MJButton[src]

impl ComponentWithAttributes for MJColumn[src]

impl ComponentWithAttributes for MJDivider[src]

impl ComponentWithAttributes for MJHero[src]

impl ComponentWithAttributes for MJImage[src]

impl ComponentWithAttributes for MJSection[src]

impl ComponentWithAttributes for MJText[src]

impl ComponentWithAttributes for NodeElement[src]

Loading content...