[][src]Struct serde_codegen_internals::ast::Item

pub struct Item<'a> {
    pub ident: Ident,
    pub attrs: Item,
    pub body: Body<'a>,
    pub generics: &'a Generics,
}

Fields

ident: Identattrs: Itembody: Body<'a>generics: &'a Generics

Methods

impl<'a> Item<'a>[src]

pub fn from_ast(cx: &Ctxt, item: &'a MacroInput) -> Item<'a>[src]

Auto Trait Implementations

impl<'a> Send for Item<'a>

impl<'a> Unpin for Item<'a>

impl<'a> Sync for Item<'a>

impl<'a> UnwindSafe for Item<'a>

impl<'a> RefUnwindSafe for Item<'a>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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