#[non_exhaustive]pub struct Toolchain { /* private fields */ }
Implementations§
Source§impl Toolchain
impl Toolchain
pub fn new( channel: Channel, date: Option<ToolchainDate>, host: Target, components: HashSet<Component>, targets: HashSet<Target>, ) -> Self
pub fn channel(&self) -> &Channel
pub fn date(&self) -> &Option<ToolchainDate>
pub fn host(&self) -> &Target
pub fn components(&self) -> &HashSet<Component>
pub fn targets(&self) -> &HashSet<Target>
Trait Implementations§
impl Eq for Toolchain
impl StructuralPartialEq for Toolchain
Auto Trait Implementations§
impl Freeze for Toolchain
impl RefUnwindSafe for Toolchain
impl Send for Toolchain
impl Sync for Toolchain
impl Unpin for Toolchain
impl UnwindSafe for Toolchain
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