pub struct CommentLine {
pub line_markers: &'static [&'static str],
}Expand description
Configuration for comment scanning
Fields§
§line_markers: &'static [&'static str]Single-line comment markers (e.g., [“//”, “#”, “;”])
Implementations§
Source§impl CommentLine
impl CommentLine
Trait Implementations§
Source§impl Clone for CommentLine
impl Clone for CommentLine
Source§fn clone(&self) -> CommentLine
fn clone(&self) -> CommentLine
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 CommentLine
impl Debug for CommentLine
Auto Trait Implementations§
impl Freeze for CommentLine
impl RefUnwindSafe for CommentLine
impl Send for CommentLine
impl Sync for CommentLine
impl Unpin for CommentLine
impl UnwindSafe for CommentLine
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