Struct dprint_plugin_json::configuration::Configuration[][src]

pub struct Configuration {
    pub line_width: u32,
    pub use_tabs: bool,
    pub indent_width: u8,
    pub new_line_kind: NewLineKind,
    pub comment_line_force_space_after_slashes: bool,
    pub ignore_node_comment_text: String,
    pub array_prefer_single_line: bool,
    pub object_prefer_single_line: bool,
}

Fields

line_width: u32use_tabs: boolindent_width: u8new_line_kind: NewLineKindcomment_line_force_space_after_slashes: boolignore_node_comment_text: Stringarray_prefer_single_line: boolobject_prefer_single_line: bool

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.