pub enum FmtComment {
Hash,
Slash,
Leave,
}
Expand description
Comment style
Variants§
Hash
Hash comments (like shell).
Slash
Double slash comments (like C++).
Leave
Leave comments as-is.
Trait Implementations§
Source§impl Debug for FmtComment
impl Debug for FmtComment
Source§impl Default for FmtComment
impl Default for FmtComment
Source§fn default() -> FmtComment
fn default() -> FmtComment
Returns the “default value” for a type. Read more
Source§impl PartialEq for FmtComment
impl PartialEq for FmtComment
impl Eq for FmtComment
impl StructuralPartialEq for FmtComment
Auto Trait Implementations§
impl Freeze for FmtComment
impl RefUnwindSafe for FmtComment
impl Send for FmtComment
impl Sync for FmtComment
impl Unpin for FmtComment
impl UnwindSafe for FmtComment
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