pub enum RosVersion {
ROS1,
ROS2,
}Variants§
Trait Implementations§
Source§impl Clone for RosVersion
impl Clone for RosVersion
Source§fn clone(&self) -> RosVersion
fn clone(&self) -> RosVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RosVersion
impl Debug for RosVersion
Source§impl PartialEq for RosVersion
impl PartialEq for RosVersion
Source§fn eq(&self, other: &RosVersion) -> bool
fn eq(&self, other: &RosVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RosVersion
impl StructuralPartialEq for RosVersion
Auto Trait Implementations§
impl Freeze for RosVersion
impl RefUnwindSafe for RosVersion
impl Send for RosVersion
impl Sync for RosVersion
impl Unpin for RosVersion
impl UnsafeUnpin for RosVersion
impl UnwindSafe for RosVersion
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