[][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

Methods

impl<Id> Generic<Id>[src]

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

Trait Implementations

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

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

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

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

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

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

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

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

Auto Trait Implementations

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

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

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

impl<T> From for T[src]

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

type Owned = T

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T, U> TryInto 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 for T where
    T: ?Sized
[src]

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