pub enum SpecialVersion {
Alpha,
Alpha2,
Beta,
}
Expand description
SpecialVersion
represents a special version from the first releases.
Before Rust 1.0.0, there were two alpha and one beta release, namely
1.0.0-alpha
1.0.0-alpha.2
1.0.0-beta
This enum represents those releases.
Variants§
Trait Implementations§
Source§impl Clone for SpecialVersion
impl Clone for SpecialVersion
Source§fn clone(&self) -> SpecialVersion
fn clone(&self) -> SpecialVersion
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 SpecialVersion
impl Debug for SpecialVersion
Source§impl Display for SpecialVersion
impl Display for SpecialVersion
Source§impl Ord for SpecialVersion
impl Ord for SpecialVersion
Source§impl PartialEq for SpecialVersion
impl PartialEq for SpecialVersion
Source§impl PartialOrd for SpecialVersion
impl PartialOrd for SpecialVersion
impl Copy for SpecialVersion
impl Eq for SpecialVersion
impl StructuralPartialEq for SpecialVersion
Auto Trait Implementations§
impl Freeze for SpecialVersion
impl RefUnwindSafe for SpecialVersion
impl Send for SpecialVersion
impl Sync for SpecialVersion
impl Unpin for SpecialVersion
impl UnwindSafe for SpecialVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)