Trait devise_core::FromMeta [−][src]
pub trait FromMeta: Sized { fn from_meta(meta: &MetaItem) -> Result<Self>; fn from_attr(attr: &Attribute) -> Result<Self> { ... } fn from_attrs(name: &str, attrs: &[Attribute]) -> Result<Vec<Self>> { ... } fn one_from_attrs(name: &str, attrs: &[Attribute]) -> Result<Option<Self>> { ... } fn default() -> Option<Self> { ... } }