pub struct RustVersion {
pub triple: VersionTriple,
pub flavor: Option<RustVersionFlavor>,
pub details: Option<RustVersionDetails>,
}
Fields§
§triple: VersionTriple
§flavor: Option<RustVersionFlavor>
§details: Option<RustVersionDetails>
This section can be absent if Rust is installed using something other
than rustup
(i.e. Homebrew)
Implementations§
source§impl RustVersion
impl RustVersion
Trait Implementations§
source§impl Debug for RustVersion
impl Debug for RustVersion
Auto Trait Implementations§
impl Freeze for RustVersion
impl RefUnwindSafe for RustVersion
impl Send for RustVersion
impl Sync for RustVersion
impl Unpin for RustVersion
impl UnwindSafe for RustVersion
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