pub struct CommentStyle {
pub single_line: String,
pub multi_line_start: Option<String>,
pub multi_line_end: Option<String>,
}Expand description
Comment style for a language
Fields§
§single_line: String§multi_line_start: Option<String>§multi_line_end: Option<String>Trait Implementations§
Source§impl Clone for CommentStyle
impl Clone for CommentStyle
Source§fn clone(&self) -> CommentStyle
fn clone(&self) -> CommentStyle
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 moreAuto Trait Implementations§
impl Freeze for CommentStyle
impl RefUnwindSafe for CommentStyle
impl Send for CommentStyle
impl Sync for CommentStyle
impl Unpin for CommentStyle
impl UnsafeUnpin for CommentStyle
impl UnwindSafe for CommentStyle
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