Enum rustfmt_nightly::config::options::__define_config_type_on_enum_ControlBraceStyle::ControlBraceStyle [−][src]
pub enum ControlBraceStyle {
AlwaysSameLine,
ClosingNextLine,
AlwaysNextLine,
}Variants
AlwaysSameLine
K&R style, Rust community default
ClosingNextLine
Stroustrup style
AlwaysNextLine
Allman style
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ControlBraceStyle
impl Send for ControlBraceStyle
impl Sync for ControlBraceStyle
impl Unpin for ControlBraceStyle
impl UnwindSafe for ControlBraceStyle
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:
AlwaysSameLine: 0 bytesClosingNextLine: 0 bytesAlwaysNextLine: 0 bytes
