Enum fix_getters_utils::scope::Scope[][src]

pub enum Scope {
    Attribute(String),
    Const(String),
    Documentation,
    Fn(String),
    Macro(String),
    Static(String),
    StructImpl(String),
    Trait(String),
    TraitImpl {
        trait_: String,
        type_: String,
    },
    Unexpected,
}

Rust code scope identification.

Variants

Attribute(String)
Const(String)
Documentation
Fn(String)
Macro(String)
Static(String)
StructImpl(String)
Trait(String)
TraitImpl

Fields of TraitImpl

trait_: Stringtype_: String
Unexpected

Trait Implementations

impl Debug for Scope[src]

impl Default for Scope[src]

impl Display for Scope[src]

impl From<&'_ Attribute> for Scope[src]

impl From<&'_ Item> for Scope[src]

impl From<&'_ Macro> for Scope[src]

Auto Trait Implementations

impl RefUnwindSafe for Scope

impl Send for Scope

impl Sync for Scope

impl Unpin for Scope

impl UnwindSafe for Scope

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> ToString for T where
    T: Display + ?Sized
[src]

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.