Enum rsn_fmt::config::PreserveEmptyLines
source · pub enum PreserveEmptyLines {
One,
All,
None,
}
Expand description
Should empty lines be preserved
Variants§
One
Reduce multiple empty lines to a single one
All
Preserve all empty lines
None
Do not preserve any empty lines
Trait Implementations§
source§impl Clone for PreserveEmptyLines
impl Clone for PreserveEmptyLines
source§fn clone(&self) -> PreserveEmptyLines
fn clone(&self) -> PreserveEmptyLines
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 PreserveEmptyLines
impl Debug for PreserveEmptyLines
source§impl Default for PreserveEmptyLines
impl Default for PreserveEmptyLines
source§fn default() -> PreserveEmptyLines
fn default() -> PreserveEmptyLines
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PreserveEmptyLines
impl<'de> Deserialize<'de> for PreserveEmptyLines
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 Serialize for PreserveEmptyLines
impl Serialize for PreserveEmptyLines
impl Copy for PreserveEmptyLines
Auto Trait Implementations§
impl RefUnwindSafe for PreserveEmptyLines
impl Send for PreserveEmptyLines
impl Sync for PreserveEmptyLines
impl Unpin for PreserveEmptyLines
impl UnwindSafe for PreserveEmptyLines
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