Enum dsdl_parser::Ty
[−]
[src]
pub enum Ty { Primitive(PrimitiveType), Composite(CompositeType), }
An Uavcan data type
Variants
Primitive(PrimitiveType)
Composite(CompositeType)
Methods
impl Ty
[src]
Trait Implementations
impl Display for Ty
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Clone for Ty
[src]
fn clone(&self) -> Ty
[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 Ty
[src]
impl PartialEq for Ty
[src]
fn eq(&self, __arg_0: &Ty) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Ty) -> bool
[src]
This method tests for !=
.
impl Eq for Ty
[src]
impl From<PrimitiveType> for Ty
[src]
fn from(t: PrimitiveType) -> Ty
[src]
Performs the conversion.
impl From<CompositeType> for Ty
[src]
fn from(t: CompositeType) -> Ty
[src]
Performs the conversion.