Enum rustfmt_nightly::config::options::__define_config_type_on_enum_ImportGranularity::ImportGranularity [−][src]
pub enum ImportGranularity {
Preserve,
Crate,
Module,
Item,
}Variants
Do not merge imports.
Use one use statement per crate.
Use one use statement per module.
Use one use statement per imported item.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ImportGranularity
impl Send for ImportGranularity
impl Sync for ImportGranularity
impl Unpin for ImportGranularity
impl UnwindSafe for ImportGranularity
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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