Struct gluon_base::types::Field [−][src]
pub struct Field<Id, T = ArcType<Id>> { pub name: Id, pub typ: T, }
Fields
name: Id
typ: T
Methods
impl<Id, T> Field<Id, T>
[src]
impl<Id, T> Field<Id, T>
Trait Implementations
impl<Id: Clone, T: Clone> Clone for Field<Id, T>
[src]
impl<Id: Clone, T: Clone> Clone for Field<Id, T>
fn clone(&self) -> Field<Id, T>
[src]
fn clone(&self) -> Field<Id, T>
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: Hash, T: Hash> Hash for Field<Id, T>
[src]
impl<Id: Hash, T: Hash> Hash for Field<Id, T>
fn hash<__HIdT: Hasher>(&self, state: &mut __HIdT)
[src]
fn hash<__HIdT: Hasher>(&self, state: &mut __HIdT)
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: Eq, T: Eq> Eq for Field<Id, T>
[src]
impl<Id: Eq, T: Eq> Eq for Field<Id, T>
impl<Id: PartialEq, T: PartialEq> PartialEq for Field<Id, T>
[src]
impl<Id: PartialEq, T: PartialEq> PartialEq for Field<Id, T>
fn eq(&self, other: &Field<Id, T>) -> bool
[src]
fn eq(&self, other: &Field<Id, T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Field<Id, T>) -> bool
[src]
fn ne(&self, other: &Field<Id, T>) -> bool
This method tests for !=
.
impl<Id: Debug, T: Debug> Debug for Field<Id, T>
[src]
impl<Id: Debug, T: Debug> Debug for Field<Id, T>