Struct dsdl_parser::FieldDefinition [] [src]

pub struct FieldDefinition {
    pub cast_mode: Option<CastMode>,
    pub field_type: Ty,
    pub array: ArrayInfo,
    pub name: Option<Ident>,
}

A Field definition

Field definition patterns - cast_mode field_type field_name - cast_mode field_type[X] field_name - cast_mode field_type[<X] field_name - cast_mode field_type[<=X] field_name - void_type

Fields

Trait Implementations

impl Display for FieldDefinition
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for FieldDefinition
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FieldDefinition
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for FieldDefinition
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for FieldDefinition
[src]