[][src]Struct gluon_base::ast::Argument

pub struct Argument<N> {
    pub arg_type: ArgType,
    pub name: N,
}

Fields

arg_type: ArgTypename: N

Implementations

impl<Id> Argument<Id>[src]

pub fn explicit(name: Id) -> Self[src]

pub fn implicit(name: Id) -> Self[src]

Trait Implementations

impl<'ast, Id> AstAlloc<'ast, Id> for Argument<SpannedIdent<Id>>[src]

impl<'ast, Id, N> AstClone<'ast, Id> for Argument<N> where
    N: AstClone<'ast, Id>,
    Id: Clone
[src]

impl<N: Clone> Clone for Argument<N>[src]

impl<N: Debug> Debug for Argument<N>[src]

impl<N: Default> Default for Argument<N>[src]

impl<N: Eq> Eq for Argument<N>[src]

impl<N: Hash> Hash for Argument<N>[src]

impl<N: PartialEq> PartialEq<Argument<N>> for Argument<N>[src]

impl<N> StructuralEq for Argument<N>[src]

impl<N> StructuralPartialEq for Argument<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for Argument<N> where
    N: RefUnwindSafe

impl<N> Send for Argument<N> where
    N: Send

impl<N> Sync for Argument<N> where
    N: Sync

impl<N> Unpin for Argument<N> where
    N: Unpin

impl<N> UnwindSafe for Argument<N> where
    N: 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.