pub trait AnnotationStructure {
// Required methods
fn get_path() -> Symbol
where Self: Sized;
fn from_meta(input: &Meta) -> Result<Self, Error>
where Self: Sized;
fn from_attribute_args(input: AttributeArgs) -> Result<Self, Error>
where Self: Sized;
}Required Methods§
fn get_path() -> Symbolwhere
Self: Sized,
fn from_meta(input: &Meta) -> Result<Self, Error>where
Self: Sized,
fn from_attribute_args(input: AttributeArgs) -> Result<Self, Error>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".