Struct gluon_base::types::Generic [−][src]
pub struct Generic<Id> { pub id: Id, pub kind: ArcKind, }
Fields
id: Id
kind: ArcKind
Methods
impl<Id> Generic<Id>
[src]
impl<Id> Generic<Id>
Trait Implementations
impl<Id: Clone> Clone for Generic<Id>
[src]
impl<Id: Clone> Clone for Generic<Id>
fn clone(&self) -> Generic<Id>
[src]
fn clone(&self) -> Generic<Id>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<Id: Debug> Debug for Generic<Id>
[src]
impl<Id: Debug> Debug for Generic<Id>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Id: Eq> Eq for Generic<Id>
[src]
impl<Id: Eq> Eq for Generic<Id>
impl<Id: PartialEq> PartialEq for Generic<Id>
[src]
impl<Id: PartialEq> PartialEq for Generic<Id>
fn eq(&self, other: &Generic<Id>) -> bool
[src]
fn eq(&self, other: &Generic<Id>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Generic<Id>) -> bool
[src]
fn ne(&self, other: &Generic<Id>) -> bool
This method tests for !=
.
impl<Id: Hash> Hash for Generic<Id>
[src]
impl<Id: Hash> Hash for Generic<Id>
fn hash<__HId: Hasher>(&self, state: &mut __HId)
[src]
fn hash<__HId: Hasher>(&self, state: &mut __HId)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[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: Display> Display for Generic<Id>
[src]
impl<Id: Display> Display for Generic<Id>