AnnotationStructure

Trait AnnotationStructure 

Source
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§

Source

fn get_path() -> Symbol
where Self: Sized,

Source

fn from_meta(input: &Meta) -> Result<Self, Error>
where Self: Sized,

Source

fn from_attribute_args(input: AttributeArgs) -> Result<Self, Error>
where Self: Sized,

Implementors§