Enum bootstrap::config::RustfmtState
source · pub enum RustfmtState {
SystemToolchain(PathBuf),
Downloaded(PathBuf),
Unavailable,
LazyEvaluated,
}
Variants§
Trait Implementations§
source§impl Clone for RustfmtState
impl Clone for RustfmtState
source§fn clone(&self) -> RustfmtState
fn clone(&self) -> RustfmtState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RustfmtState
impl Debug for RustfmtState
source§impl Default for RustfmtState
impl Default for RustfmtState
source§fn default() -> RustfmtState
fn default() -> RustfmtState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RustfmtState
impl Send for RustfmtState
impl Sync for RustfmtState
impl Unpin for RustfmtState
impl UnwindSafe for RustfmtState
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
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: 32 bytes
Size for each variant:
SystemToolchain
: 24 bytesDownloaded
: 24 bytesUnavailable
: 0 bytesLazyEvaluated
: 0 bytes