Enum build_info::CompilerChannel
source · [−]pub enum CompilerChannel {
Dev,
Nightly,
Beta,
Stable,
}
Expand description
rustc
distribution channel (some compiler features are only available on specific channels)
Variants
Dev
Nightly
Beta
Stable
Trait Implementations
sourceimpl Clone for CompilerChannel
impl Clone for CompilerChannel
sourcepub fn clone(&self) -> CompilerChannel
pub fn clone(&self) -> CompilerChannel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CompilerChannel
impl Debug for CompilerChannel
sourceimpl<'de> Deserialize<'de> for CompilerChannel
impl<'de> Deserialize<'de> for CompilerChannel
sourcepub fn deserialize<__D>(
__deserializer: __D
) -> Result<CompilerChannel, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<CompilerChannel, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for CompilerChannel
impl Display for CompilerChannel
sourceimpl Hash for CompilerChannel
impl Hash for CompilerChannel
sourceimpl Ord for CompilerChannel
impl Ord for CompilerChannel
sourceimpl PartialEq<CompilerChannel> for CompilerChannel
impl PartialEq<CompilerChannel> for CompilerChannel
sourceimpl PartialOrd<CompilerChannel> for CompilerChannel
impl PartialOrd<CompilerChannel> for CompilerChannel
sourcepub fn partial_cmp(&self, other: &CompilerChannel) -> Option<Ordering>
pub fn partial_cmp(&self, other: &CompilerChannel) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl Serialize for CompilerChannel
impl Serialize for CompilerChannel
sourcepub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CompilerChannel
impl Eq for CompilerChannel
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more