Trait amplify_syn::Element

source ·
pub trait Element: Sized {
    type Input: Sized;

    // Required method
    fn with(input: Self::Input, attr_name: &Ident) -> Result<Self>;
}

Required Associated Types§

Required Methods§

source

fn with(input: Self::Input, attr_name: &Ident) -> Result<Self>

Implementors§