Trait darling_core::FromField
source · [−]pub trait FromField: Sized {
fn from_field(field: &Field) -> Result<Self>;
}
Expand description
Creates an instance by parsing an individual field and its attributes.
pub trait FromField: Sized {
fn from_field(field: &Field) -> Result<Self>;
}
Creates an instance by parsing an individual field and its attributes.