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 for IndentType
impl PartialEq for IndentType
impl Copy for IndentType
impl Eq for IndentType
impl StructuralPartialEq for IndentType
Auto Trait Implementations§
impl Freeze for IndentType
impl RefUnwindSafe for IndentType
impl Send for IndentType
impl Sync for IndentType
impl Unpin for IndentType
impl UnwindSafe for IndentType
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