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
Message(MessageDefinition)
Service(ServiceDefinition)
Trait Implementations
impl Display for TypeDefinition
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Clone for TypeDefinition
[src]
fn clone(&self) -> TypeDefinition
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for TypeDefinition
[src]
impl PartialEq for TypeDefinition
[src]
fn eq(&self, __arg_0: &TypeDefinition) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TypeDefinition) -> bool
[src]
This method tests for !=
.
impl Eq for TypeDefinition
[src]
impl From<MessageDefinition> for TypeDefinition
[src]
fn from(d: MessageDefinition) -> Self
[src]
Performs the conversion.
impl From<ServiceDefinition> for TypeDefinition
[src]
fn from(d: ServiceDefinition) -> Self
[src]
Performs the conversion.