pub struct CompositeType {
pub namespace: Option<Ident>,
pub name: Ident,
}
Expand description
A CompositeType is what the uavcan specification refers to as “Nested data structures”
In short if it’s not a primitive data type (or arrays of primitive data types) it’s a CompositeType
Fields§
§namespace: Option<Ident>
§name: Ident
Trait Implementations§
Source§impl Clone for CompositeType
impl Clone for CompositeType
Source§fn clone(&self) -> CompositeType
fn clone(&self) -> CompositeType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompositeType
impl Debug for CompositeType
Source§impl Display for CompositeType
impl Display for CompositeType
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 FromStr for CompositeType
impl FromStr for CompositeType
Source§impl PartialEq for CompositeType
impl PartialEq for CompositeType
impl Eq for CompositeType
impl StructuralPartialEq for CompositeType
Auto Trait Implementations§
impl Freeze for CompositeType
impl RefUnwindSafe for CompositeType
impl Send for CompositeType
impl Sync for CompositeType
impl Unpin for CompositeType
impl UnwindSafe for CompositeType
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