Struct syntex_syntax::ast::StructField_
[−]
[src]
pub struct StructField_ {
pub kind: StructFieldKind,
pub id: NodeId,
pub ty: P<Ty>,
pub attrs: Vec<Attribute>,
}Fields
kind | |
id | |
ty | |
attrs |
Methods
impl StructField_[src]
Trait Implementations
Derived Implementations
impl Debug for StructField_[src]
impl Hash for StructField_[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Decodable for StructField_[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<StructField_, __D::Error>
impl Encodable for StructField_[src]
impl Eq for StructField_[src]
impl PartialEq for StructField_[src]
fn eq(&self, __arg_0: &StructField_) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &StructField_) -> bool
This method tests for !=.
impl Clone for StructField_[src]
fn clone(&self) -> StructField_
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more