Trait devise::FromMeta

source ·
pub trait FromMeta: Sized {
    fn from_meta(meta: MetaItem<'_>) -> Result<Self, Diagnostic>;

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

Required Methods§

Provided Methods§

Implementations on Foreign Types§

Implementors§