pub enum CompilerChannel {
Dev,
Nightly,
Beta,
Stable,
}
Expand description
rustc
distribution channel (some compiler features are only available on specific channels)
Variants§
Trait Implementations§
source§impl Clone for CompilerChannel
impl Clone for CompilerChannel
source§fn clone(&self) -> CompilerChannel
fn clone(&self) -> CompilerChannel
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 CompilerChannel
impl Debug for CompilerChannel
source§impl Display for CompilerChannel
impl Display for CompilerChannel
source§impl Hash for CompilerChannel
impl Hash for CompilerChannel
source§impl Ord for CompilerChannel
impl Ord for CompilerChannel
source§fn cmp(&self, other: &CompilerChannel) -> Ordering
fn cmp(&self, other: &CompilerChannel) -> Ordering
1.21.0 · 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 PartialEq for CompilerChannel
impl PartialEq for CompilerChannel
source§fn eq(&self, other: &CompilerChannel) -> bool
fn eq(&self, other: &CompilerChannel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CompilerChannel
impl PartialOrd for CompilerChannel
source§fn partial_cmp(&self, other: &CompilerChannel) -> Option<Ordering>
fn partial_cmp(&self, other: &CompilerChannel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CompilerChannel
impl Eq for CompilerChannel
impl StructuralPartialEq for CompilerChannel
Auto Trait Implementations§
impl RefUnwindSafe for CompilerChannel
impl Send for CompilerChannel
impl Sync for CompilerChannel
impl Unpin for CompilerChannel
impl UnwindSafe for CompilerChannel
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