Enum stylua_lib::IndentType
source · pub enum IndentType {
Tabs,
Spaces,
}Expand description
The type of indents to use when indenting
Variants§
Trait Implementations§
source§impl Clone for IndentType
impl Clone for IndentType
source§fn clone(&self) -> IndentType
fn clone(&self) -> IndentType
Returns a copy 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 IndentType
impl Debug for IndentType
source§impl Default for IndentType
impl Default for IndentType
source§fn default() -> IndentType
fn default() -> IndentType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IndentType
impl<'de> Deserialize<'de> for IndentType
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
source§impl PartialEq<IndentType> for IndentType
impl PartialEq<IndentType> for IndentType
source§fn eq(&self, other: &IndentType) -> bool
fn eq(&self, other: &IndentType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.