pub enum ChannelVersion {
MajorMinor(usize, usize),
MajorMinorPatch(usize, usize, usize),
}Expand description
A rustup channel’s version.
Used by Channel::Version variant.
Variants§
MajorMinor(usize, usize)
A major and minor version number.
MajorMinorPatch(usize, usize, usize)
A fully specified version number.
Trait Implementations§
Source§impl Clone for ChannelVersion
impl Clone for ChannelVersion
Source§fn clone(&self) -> ChannelVersion
fn clone(&self) -> ChannelVersion
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 ChannelVersion
impl Debug for ChannelVersion
Source§impl Display for ChannelVersion
impl Display for ChannelVersion
Source§impl PartialEq for ChannelVersion
impl PartialEq for ChannelVersion
impl Copy for ChannelVersion
impl Eq for ChannelVersion
impl StructuralPartialEq for ChannelVersion
Auto Trait Implementations§
impl Freeze for ChannelVersion
impl RefUnwindSafe for ChannelVersion
impl Send for ChannelVersion
impl Sync for ChannelVersion
impl Unpin for ChannelVersion
impl UnwindSafe for ChannelVersion
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