pub enum Ty {
Primitive(PrimitiveType),
Composite(CompositeType),
}
Expand description
An Uavcan data type
Variants§
Primitive(PrimitiveType)
Composite(CompositeType)
Implementations§
Trait Implementations§
Source§impl From<CompositeType> for Ty
impl From<CompositeType> for Ty
Source§fn from(t: CompositeType) -> Ty
fn from(t: CompositeType) -> Ty
Converts to this type from the input type.
Source§impl From<PrimitiveType> for Ty
impl From<PrimitiveType> for Ty
Source§fn from(t: PrimitiveType) -> Ty
fn from(t: PrimitiveType) -> Ty
Converts to this type from the input type.
impl Eq for Ty
impl StructuralPartialEq for Ty
Auto Trait Implementations§
impl Freeze for Ty
impl RefUnwindSafe for Ty
impl Send for Ty
impl Sync for Ty
impl Unpin for Ty
impl UnwindSafe for Ty
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more