pub struct ExtendedToolchain { /* private fields */ }
Expand description
Type to model a Rust toolchain, with additional metadata relevant to a release.
Implementations§
Source§impl ExtendedToolchain
impl ExtendedToolchain
Sourcepub fn new(toolchain: Toolchain, tier: TargetTier) -> Self
pub fn new(toolchain: Toolchain, tier: TargetTier) -> Self
Create an ExtendedToolchain from a rust_toolchain::Toolchain
Sourcepub fn tier(&self) -> TargetTier
pub fn tier(&self) -> TargetTier
Get the toolchain tier
Trait Implementations§
Source§impl Clone for ExtendedToolchain
impl Clone for ExtendedToolchain
Source§fn clone(&self) -> ExtendedToolchain
fn clone(&self) -> ExtendedToolchain
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 ExtendedToolchain
impl Debug for ExtendedToolchain
Source§impl PartialEq for ExtendedToolchain
impl PartialEq for ExtendedToolchain
impl Eq for ExtendedToolchain
impl StructuralPartialEq for ExtendedToolchain
Auto Trait Implementations§
impl Freeze for ExtendedToolchain
impl RefUnwindSafe for ExtendedToolchain
impl Send for ExtendedToolchain
impl Sync for ExtendedToolchain
impl Unpin for ExtendedToolchain
impl UnwindSafe for ExtendedToolchain
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