Trait devise::FromMeta[][src]

pub trait FromMeta {
    fn from_meta(meta: &MetaItem) -> Result<Self, Diagnostic>;

    fn from_attr(attr: &Attribute) -> Result<Self, Diagnostic> { ... }
fn from_attrs(
        name: &str,
        attrs: &[Attribute]
    ) -> Result<Vec<Self, Global>, Diagnostic> { ... }
fn one_from_attrs(
        name: &str,
        attrs: &[Attribute]
    ) -> Result<Option<Self>, Diagnostic> { ... }
fn default() -> Option<Self> { ... } }

Required methods

Provided methods

Implementations on Foreign Types

Implementors