pub enum SlackwareVersion {
Current,
Slack150,
Slack142,
}Expand description
Available Slackware versions/branches.
Variants§
Current
Current development branch (master)
Slack150
Slackware 15.0 (latest stable)
Slack142
Slackware 14.2 (older stable)
Implementations§
Source§impl SlackwareVersion
impl SlackwareVersion
Sourcepub fn all() -> &'static [SlackwareVersion]
pub fn all() -> &'static [SlackwareVersion]
All available versions.
Sourcepub fn current() -> &'static [SlackwareVersion]
pub fn current() -> &'static [SlackwareVersion]
Current (development) only.
Sourcepub fn stable() -> &'static [SlackwareVersion]
pub fn stable() -> &'static [SlackwareVersion]
Stable versions only (15.0, 14.2).
Sourcepub fn latest_stable() -> &'static [SlackwareVersion]
pub fn latest_stable() -> &'static [SlackwareVersion]
Latest stable only (15.0).
Trait Implementations§
Source§impl Clone for SlackwareVersion
impl Clone for SlackwareVersion
Source§fn clone(&self) -> SlackwareVersion
fn clone(&self) -> SlackwareVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlackwareVersion
impl Debug for SlackwareVersion
Source§impl Hash for SlackwareVersion
impl Hash for SlackwareVersion
Source§impl PartialEq for SlackwareVersion
impl PartialEq for SlackwareVersion
Source§fn eq(&self, other: &SlackwareVersion) -> bool
fn eq(&self, other: &SlackwareVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SlackwareVersion
impl Eq for SlackwareVersion
impl StructuralPartialEq for SlackwareVersion
Auto Trait Implementations§
impl Freeze for SlackwareVersion
impl RefUnwindSafe for SlackwareVersion
impl Send for SlackwareVersion
impl Sync for SlackwareVersion
impl Unpin for SlackwareVersion
impl UnsafeUnpin for SlackwareVersion
impl UnwindSafe for SlackwareVersion
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more