Enum rustfmt_nightly::config::options::__define_config_type_on_enum_IndentStyle::IndentStyle
source · [−]pub enum IndentStyle {
Visual,
Block,
}Variants
Visual
First line on the same line as the opening brace, all lines aligned with the first line.
Block
First line is on a new line and all lines align with block indent.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IndentStyle
impl Send for IndentStyle
impl Sync for IndentStyle
impl Unpin for IndentStyle
impl UnwindSafe for IndentStyle
Blanket Implementations
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: 1 byte
Size for each variant:
Visual: 0 bytesBlock: 0 bytes