[][src]Enum func_wrap::ImplOrTrait

pub enum ImplOrTrait<'__> {
    DefaultMethod {
        trait_name: &'__ Ident,
    },
    ImplMethod {
        implementor: &'__ Type,
        trait_name: Option<&'__ Path>,
    },
}

Variants

DefaultMethod

Default implementation of methods within a trait definition.

Fields of DefaultMethod

trait_name: &'__ Ident
ImplMethod

An implementation of methods within an impl block.

Fields of ImplMethod

implementor: &'__ Typetrait_name: Option<&'__ Path>

Trait Implementations

impl<'__> Clone for ImplOrTrait<'__>[src]

impl<'__> Copy for ImplOrTrait<'__>[src]

Auto Trait Implementations

impl<'__> RefUnwindSafe for ImplOrTrait<'__>

impl<'__> !Send for ImplOrTrait<'__>

impl<'__> !Sync for ImplOrTrait<'__>

impl<'__> Unpin for ImplOrTrait<'__>

impl<'__> UnwindSafe for ImplOrTrait<'__>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.