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
fn from_meta(meta: &MetaItem) -> Result<Self, Diagnostic>[src]Provided methods
fn from_attr(attr: &Attribute) -> Result<Self, Diagnostic>[src]fn from_attrs(
name: &str,
attrs: &[Attribute]
) -> Result<Vec<Self, Global>, Diagnostic>[src]fn one_from_attrs(
name: &str,
attrs: &[Attribute]
) -> Result<Option<Self>, Diagnostic>[src]