[][src]Struct gluon_base::types::Generic

pub struct Generic<Id> {
    pub id: Id,
    pub kind: ArcKind,
}

FIXME Distinguish generic id's so we only need to compare them by id (currently they will get the wrong kind assigned to them otherwise)

Fields

id: Idkind: ArcKind

Implementations

impl<Id> Generic<Id>[src]

pub fn new(id: Id, kind: ArcKind) -> Generic<Id>[src]

Trait Implementations

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

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

impl<Id: Clone> Clone for Generic<Id>[src]

impl<Id: Debug> Debug for Generic<Id>[src]

impl<Id: Display> Display for Generic<Id>[src]

impl<Id: Eq> Eq for Generic<Id>[src]

impl<Id: Hash> Hash for Generic<Id>[src]

impl<Id: PartialEq> PartialEq<Generic<Id>> for Generic<Id>[src]

impl<Id> StructuralEq for Generic<Id>[src]

impl<Id> StructuralPartialEq for Generic<Id>[src]

Auto Trait Implementations

impl<Id> RefUnwindSafe for Generic<Id> where
    Id: RefUnwindSafe

impl<Id> Send for Generic<Id> where
    Id: Send

impl<Id> Sync for Generic<Id> where
    Id: Sync

impl<Id> Unpin for Generic<Id> where
    Id: Unpin

impl<Id> UnwindSafe for Generic<Id> where
    Id: 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> 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.