Enum rsn_fmt::config::NormalizeComments
source · pub enum NormalizeComments {
Block,
Line,
No,
}
Expand description
Should comments be normalized
Variants§
Block
Make all comments block comments (/* */
)
Line
Make all comments line comments (//
)
No
Do not normalize Comments
Trait Implementations§
source§impl Clone for NormalizeComments
impl Clone for NormalizeComments
source§fn clone(&self) -> NormalizeComments
fn clone(&self) -> NormalizeComments
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 NormalizeComments
impl Debug for NormalizeComments
source§impl Default for NormalizeComments
impl Default for NormalizeComments
source§fn default() -> NormalizeComments
fn default() -> NormalizeComments
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NormalizeComments
impl<'de> Deserialize<'de> for NormalizeComments
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 NormalizeComments
impl Serialize for NormalizeComments
impl Copy for NormalizeComments
Auto Trait Implementations§
impl RefUnwindSafe for NormalizeComments
impl Send for NormalizeComments
impl Sync for NormalizeComments
impl Unpin for NormalizeComments
impl UnwindSafe for NormalizeComments
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