[][src]Trait macro_input::FromMeta

pub trait FromMeta {
    pub fn from(meta: Option<Meta>) -> Result<Self, Error>;
}

a trait for extracting a value from Option<syn::Meta>

Required methods

pub fn from(meta: Option<Meta>) -> Result<Self, Error>[src]

extract the value

Loading content...

Implementations on Foreign Types

impl FromMeta for Option<()>[src]

Loading content...

Implementors

impl<F> FromMeta for F where
    F: FromLit
[src]

Loading content...