Enum dsdl_parser::TypeDefinition [] [src]

pub enum TypeDefinition {
    Message(MessageDefinition),
    Service(ServiceDefinition),
}

A DSDL type definition.

Each DSDL definition specifies exactly one data structure that can be used for message broadcasting or a pair of structures that can be used for service invocation data exchange.

Variants

Trait Implementations

impl Display for TypeDefinition
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for TypeDefinition
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TypeDefinition
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for TypeDefinition
[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 TypeDefinition
[src]

impl From<MessageDefinition> for TypeDefinition
[src]

[src]

Performs the conversion.

impl From<ServiceDefinition> for TypeDefinition
[src]

[src]

Performs the conversion.