[][src]Enum fuzzy_pickles::ast::Item

pub enum Item {
    AttributeContaining(AttributeContaining),
    Const(Const),
    Enum(Enum),
    ExternCrate(Crate),
    ExternBlock(ExternBlock),
    Function(Function),
    Impl(Impl),
    MacroCall(MacroCall),
    Module(Module),
    Static(Static),
    Struct(Struct),
    Trait(Trait),
    TypeAlias(TypeAlias),
    Use(Use),
    Union(Union),
}

Variants

AttributeContaining(AttributeContaining)
Const(Const)
Enum(Enum)
ExternCrate(Crate)
ExternBlock(ExternBlock)
Function(Function)
Impl(Impl)
MacroCall(MacroCall)
Module(Module)
Static(Static)
Struct(Struct)
Trait(Trait)
TypeAlias(TypeAlias)
Use(Use)
Union(Union)

Implementations

impl Item[src]

pub fn into_attribute_containing(self) -> Option<AttributeContaining>[src]

pub fn into_const(self) -> Option<Const>[src]

pub fn into_enum(self) -> Option<Enum>[src]

pub fn into_extern_crate(self) -> Option<Crate>[src]

pub fn into_extern_block(self) -> Option<ExternBlock>[src]

pub fn into_function(self) -> Option<Function>[src]

pub fn into_impl(self) -> Option<Impl>[src]

pub fn into_macro_call(self) -> Option<MacroCall>[src]

pub fn into_module(self) -> Option<Module>[src]

pub fn into_static(self) -> Option<Static>[src]

pub fn into_struct(self) -> Option<Struct>[src]

pub fn into_trait(self) -> Option<Trait>[src]

pub fn into_type_alias(self) -> Option<TypeAlias>[src]

pub fn into_use(self) -> Option<Use>[src]

pub fn into_union(self) -> Option<Union>[src]

pub fn as_attribute_containing(&self) -> Option<&AttributeContaining>[src]

pub fn as_const(&self) -> Option<&Const>[src]

pub fn as_enum(&self) -> Option<&Enum>[src]

pub fn as_extern_crate(&self) -> Option<&Crate>[src]

pub fn as_extern_block(&self) -> Option<&ExternBlock>[src]

pub fn as_function(&self) -> Option<&Function>[src]

pub fn as_impl(&self) -> Option<&Impl>[src]

pub fn as_macro_call(&self) -> Option<&MacroCall>[src]

pub fn as_module(&self) -> Option<&Module>[src]

pub fn as_static(&self) -> Option<&Static>[src]

pub fn as_struct(&self) -> Option<&Struct>[src]

pub fn as_trait(&self) -> Option<&Trait>[src]

pub fn as_type_alias(&self) -> Option<&TypeAlias>[src]

pub fn as_use(&self) -> Option<&Use>[src]

pub fn as_union(&self) -> Option<&Union>[src]

pub fn is_attribute_containing(&self) -> bool[src]

pub fn is_const(&self) -> bool[src]

pub fn is_enum(&self) -> bool[src]

pub fn is_extern_crate(&self) -> bool[src]

pub fn is_extern_block(&self) -> bool[src]

pub fn is_function(&self) -> bool[src]

pub fn is_impl(&self) -> bool[src]

pub fn is_macro_call(&self) -> bool[src]

pub fn is_module(&self) -> bool[src]

pub fn is_static(&self) -> bool[src]

pub fn is_struct(&self) -> bool[src]

pub fn is_trait(&self) -> bool[src]

pub fn is_type_alias(&self) -> bool[src]

pub fn is_use(&self) -> bool[src]

pub fn is_union(&self) -> bool[src]

Trait Implementations

impl Debug for Item[src]

impl HasExtent for Item[src]

impl<'a> Index<&'a Item> for str[src]

type Output = str

The returned type after indexing.

impl Index<Item> for str[src]

type Output = str

The returned type after indexing.

impl Visit for Item[src]

Auto Trait Implementations

impl RefUnwindSafe for Item

impl Send for Item

impl Sync for Item

impl Unpin for Item

impl UnwindSafe for Item

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, 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.