pub enum BuildMode {
Build,
Check,
}
Expand description
The build mode to use for this sysroot.
Variants§
Build
Do a full sysroot build. Suited for all purposes (like the regular sysroot), but only works for the host or for targets that have suitable development tools installed.
Check
Do a check-only sysroot build. This is only suited for check-only builds of crates, but on the plus side it works for arbitrary targets without having any special tools installed.
Implementations§
Trait Implementations§
impl Copy for BuildMode
impl Eq for BuildMode
impl StructuralPartialEq for BuildMode
Auto Trait Implementations§
impl Freeze for BuildMode
impl RefUnwindSafe for BuildMode
impl Send for BuildMode
impl Sync for BuildMode
impl Unpin for BuildMode
impl UnwindSafe for BuildMode
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.