[][src]Struct syn::Ident

pub struct Ident(_);

Methods

impl Ident[src]

pub fn new<T: Into<Ident>>(t: T) -> Self[src]

Trait Implementations

impl AsRef<str> for Ident[src]

impl From<Ident> for TyParam[src]

impl<'a> From<&'a str> for Ident[src]

impl<'a> From<Cow<'a, str>> for Ident[src]

impl From<String> for Ident[src]

impl From<usize> for Ident[src]

impl Clone for Ident[src]

impl Eq for Ident[src]

impl Ord for Ident[src]

impl<T: ?Sized> PartialEq<T> for Ident where
    T: AsRef<str>, 
[src]

impl PartialOrd<Ident> for Ident[src]

impl Display for Ident[src]

impl Debug for Ident[src]

impl Hash for Ident[src]

impl StructuralEq for Ident[src]

impl ToTokens for Ident[src]

Auto Trait Implementations

impl Send for Ident

impl Sync for Ident

impl Unpin for Ident

impl UnwindSafe for Ident

impl RefUnwindSafe for Ident

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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