pub enum TabStopMode {
Normalize,
Preserve,
}Expand description
Tab stop handling for formatter output.
Variants§
Normalize
Normalize tabs to spaces (4-column tab stop).
Preserve
Preserve tabs in literal code spans/blocks.
Trait Implementations§
Source§impl Clone for TabStopMode
impl Clone for TabStopMode
Source§fn clone(&self) -> TabStopMode
fn clone(&self) -> TabStopMode
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 TabStopMode
impl Debug for TabStopMode
Source§impl Default for TabStopMode
impl Default for TabStopMode
Source§fn default() -> TabStopMode
fn default() -> TabStopMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TabStopMode
impl<'de> Deserialize<'de> for TabStopMode
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 TabStopMode
impl PartialEq for TabStopMode
impl Copy for TabStopMode
impl Eq for TabStopMode
impl StructuralPartialEq for TabStopMode
Auto Trait Implementations§
impl Freeze for TabStopMode
impl RefUnwindSafe for TabStopMode
impl Send for TabStopMode
impl Sync for TabStopMode
impl Unpin for TabStopMode
impl UnsafeUnpin for TabStopMode
impl UnwindSafe for TabStopMode
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