Trait macroific::attr_parse::ParseOption
source · pub trait ParseOption: Sized {
// Required method
fn from_stream(input: &ParseBuffer<'_>) -> Result<Self, Error>;
}
Available on crate feature
attr_parse
only.Expand description
Makes a type usable for AttributeOptions
Required Methods§
sourcefn from_stream(input: &ParseBuffer<'_>) -> Result<Self, Error>
fn from_stream(input: &ParseBuffer<'_>) -> Result<Self, Error>
Parses the type from the given ParseStream
.
Object Safety§
This trait is not object safe.