pub enum ToolchainFile {
Legacy(LegacyToolchainFile),
Toml(RustToolchainToml),
}
Expand description
Model of a Rust toolchain file, which can be used to pin a specific toolchain to a Rust project.
Variants§
Legacy(LegacyToolchainFile)
The legacy variant of the toolchain file only specifies the name of a toolchain
Toml(RustToolchainToml)
A specification of a toolchain file, which builds on top of the TOML format.
Trait Implementations§
Source§impl Debug for ToolchainFile
impl Debug for ToolchainFile
Source§impl PartialEq for ToolchainFile
impl PartialEq for ToolchainFile
impl StructuralPartialEq for ToolchainFile
Auto Trait Implementations§
impl Freeze for ToolchainFile
impl RefUnwindSafe for ToolchainFile
impl Send for ToolchainFile
impl Sync for ToolchainFile
impl Unpin for ToolchainFile
impl UnwindSafe for ToolchainFile
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