Trait FromMeta
macro_input_core
pub trait FromMeta: Sized { pub fn from(meta: Option<Meta>) -> Result<Self>; }
a trait for extracting a value from Option<syn::Meta>
Option<syn::Meta>
pub fn from(meta: Option<Meta>) -> Result<Self>
extract the value
may return an Error if the meta doesn't contain the correct value
impl FromMeta for Option<()>
impl<F: FromLit> FromMeta for F