pub struct MarkerConfig {
pub markers: Vec<String>,
}Expand description
Configuration for comment markers.
Fields§
§markers: Vec<String>Implementations§
Source§impl MarkerConfig
impl MarkerConfig
Sourcepub fn normalized(markers: Vec<String>) -> Self
pub fn normalized(markers: Vec<String>) -> Self
Normalize all markers: strip trailing colons and whitespace.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MarkerConfig
impl RefUnwindSafe for MarkerConfig
impl Send for MarkerConfig
impl Sync for MarkerConfig
impl Unpin for MarkerConfig
impl UnwindSafe for MarkerConfig
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