[][src]Struct gluon_base::ast::TypedIdent

pub struct TypedIdent<Id = Symbol, T = ArcType<Id>> {
    pub typ: T,
    pub name: Id,
}

Fields

typ: Tname: Id

Implementations

impl<Id, T> TypedIdent<Id, T> where
    T: Default
[src]

pub fn new(name: Id) -> TypedIdent<Id, T>[src]

impl<Id, T> TypedIdent<Id, T>[src]

pub fn new2(name: Id, typ: T) -> TypedIdent<Id, T>[src]

Trait Implementations

impl<Id, T> AsRef<str> for TypedIdent<Id, T> where
    Id: AsRef<str>, 
[src]

impl<'ast, Id, T> AstClone<'ast, Id> for TypedIdent<Id, T> where
    Id: Clone,
    T: AstClone<'ast, Id>, 
[src]

impl<Id: Clone, T: Clone> Clone for TypedIdent<Id, T>[src]

impl<Id: Debug, T: Debug> Debug for TypedIdent<Id, T>[src]

impl<Id: Default, T: Default> Default for TypedIdent<Id, T>[src]

impl<Id: Eq, T: Eq> Eq for TypedIdent<Id, T>[src]

impl<Id: Hash, T: Hash> Hash for TypedIdent<Id, T>[src]

impl<Id: PartialEq, T: PartialEq> PartialEq<TypedIdent<Id, T>> for TypedIdent<Id, T>[src]

impl<Id, T> StructuralEq for TypedIdent<Id, T>[src]

impl<Id, T> StructuralPartialEq for TypedIdent<Id, T>[src]

impl<Id: Clone> Typed for TypedIdent<Id>[src]

type Ident = Id

Auto Trait Implementations

impl<Id, T> RefUnwindSafe for TypedIdent<Id, T> where
    Id: RefUnwindSafe,
    T: RefUnwindSafe

impl<Id, T> Send for TypedIdent<Id, T> where
    Id: Send,
    T: Send

impl<Id, T> Sync for TypedIdent<Id, T> where
    Id: Sync,
    T: Sync

impl<Id, T> Unpin for TypedIdent<Id, T> where
    Id: Unpin,
    T: Unpin

impl<Id, T> UnwindSafe for TypedIdent<Id, T> where
    Id: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

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

impl<Id> AsId<Id> for Id where
    Id: ?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.