pub struct IndentConfig {
pub style: Option<String>,
pub width: Option<usize>,
pub file_extensions: Option<Vec<String>>,
pub recursive: Option<bool>,
}Expand description
Configuration for the indent step.
Fields§
§style: Option<String>§width: Option<usize>§file_extensions: Option<Vec<String>>§recursive: Option<bool>Trait Implementations§
Source§impl Clone for IndentConfig
impl Clone for IndentConfig
Source§fn clone(&self) -> IndentConfig
fn clone(&self) -> IndentConfig
Returns a duplicate 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 IndentConfig
impl Debug for IndentConfig
Source§impl Default for IndentConfig
impl Default for IndentConfig
Source§fn default() -> IndentConfig
fn default() -> IndentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IndentConfig
impl<'de> Deserialize<'de> for IndentConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IndentConfig
impl RefUnwindSafe for IndentConfig
impl Send for IndentConfig
impl Sync for IndentConfig
impl Unpin for IndentConfig
impl UnsafeUnpin for IndentConfig
impl UnwindSafe for IndentConfig
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