pub enum Kind {
Show 18 variants
Build,
Check,
Clippy,
Fix,
Format,
Test,
Miri,
MiriSetup,
MiriTest,
Bench,
Doc,
Clean,
Dist,
Install,
Run,
Setup,
Vendor,
Perf,
}Variants§
Build
Check
Clippy
Fix
Format
Test
Miri
MiriSetup
MiriTest
Bench
Doc
Clean
Dist
Install
Run
Setup
Vendor
Perf
Implementations§
Source§impl Kind
impl Kind
pub fn as_str(&self) -> &'static str
pub fn description(&self) -> String
Sourcepub fn is_check_like(&self) -> bool
pub fn is_check_like(&self) -> bool
Is this a command similar to check, which only runs the compiler frontend and doesn’t build code for the target? (it can still build code for the host, i.e. proc macros).
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
Source§impl Ord for Kind
impl Ord for Kind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Kind
impl PartialOrd for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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,
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Build: 0 bytesCheck: 0 bytesClippy: 0 bytesFix: 0 bytesFormat: 0 bytesTest: 0 bytesMiri: 0 bytesMiriSetup: 0 bytesMiriTest: 0 bytesBench: 0 bytesDoc: 0 bytesClean: 0 bytesDist: 0 bytesInstall: 0 bytesRun: 0 bytesSetup: 0 bytesVendor: 0 bytesPerf: 0 bytes