pub enum MsgTypeRef {
Primitive(String),
Named {
package: String,
name: String,
},
}Variants§
Primitive(String)
Carries the canonical ROS primitive identifier as a string. Use
RosPrimitive::parse(...) to recover the strongly-typed enum
when generating code; the string representation is the source
of truth for cross-generator consistency.
Named
Trait Implementations§
Source§impl Clone for MsgTypeRef
impl Clone for MsgTypeRef
Source§fn clone(&self) -> MsgTypeRef
fn clone(&self) -> MsgTypeRef
Returns a duplicate 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 MsgTypeRef
impl Debug for MsgTypeRef
Source§impl PartialEq for MsgTypeRef
impl PartialEq for MsgTypeRef
impl Eq for MsgTypeRef
impl StructuralPartialEq for MsgTypeRef
Auto Trait Implementations§
impl Freeze for MsgTypeRef
impl RefUnwindSafe for MsgTypeRef
impl Send for MsgTypeRef
impl Sync for MsgTypeRef
impl Unpin for MsgTypeRef
impl UnsafeUnpin for MsgTypeRef
impl UnwindSafe for MsgTypeRef
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