#[non_exhaustive]pub enum RosDistro {
Galactic,
Humble,
Iron,
Jazzy,
Kilted,
Lyrical,
}Expand description
A ROS 2 distribution.
Ordered chronologically, so comparisons (<, >=, …) reflect release
order. Marked #[non_exhaustive] because future distributions will be
added.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
impl Copy for RosDistro
impl Eq for RosDistro
Source§impl Ord for RosDistro
impl Ord for RosDistro
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for RosDistro
impl PartialOrd for RosDistro
impl StructuralPartialEq for RosDistro
Auto Trait Implementations§
impl Freeze for RosDistro
impl RefUnwindSafe for RosDistro
impl Send for RosDistro
impl Sync for RosDistro
impl Unpin for RosDistro
impl UnsafeUnpin for RosDistro
impl UnwindSafe for RosDistro
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