Trait darling_core::codegen::OuterFromImpl [] [src]

pub trait OuterFromImpl<'a> {
    fn trait_path(&self) -> Path;
    fn base(&'a self) -> &'a TraitImpl<'a>;

    fn trait_bound(&self) -> Path { ... }
    fn wrap<T: ToTokens>(&'a self, body: T, tokens: &mut Tokens) { ... }
}

Wrapper for "outer From" traits, such as FromDeriveInput, FromVariant, and FromField.

Required Methods

Gets the path of the trait being implemented.

Provided Methods

Implementors