Struct 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 |
pub struct StructField_ {
pub kind: StructFieldKind,
pub id: NodeId,
pub ty: P<Ty>,
pub attrs: Vec<Attribute>,
}kind | |
id | |
ty | |
attrs |
impl StructField_impl<__S: Writer> Hash<__S> for StructField_fn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for StructField_fn decode(__arg_0: &mut __D) -> Result<StructField_, __E>impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for StructField_impl Eq for StructField_fn assert_receiver_is_total_eq(&self)impl PartialEq for StructField_fn eq(&self, __arg_0: &StructField_) -> boolfn ne(&self, __arg_0: &StructField_) -> boolimpl Clone for StructField_fn clone(&self) -> StructField_fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).