pub struct FilteredLinesBuilder<'a> { /* private fields */ }Expand description
Builder type that allows chaining filter configuration and converting to an iterator
Implementations§
Source§impl<'a> FilteredLinesBuilder<'a>
impl<'a> FilteredLinesBuilder<'a>
Sourcepub fn skip_front_matter(self) -> Self
pub fn skip_front_matter(self) -> Self
Skip lines that are part of front matter (YAML/TOML/JSON)
Sourcepub fn skip_code_blocks(self) -> Self
pub fn skip_code_blocks(self) -> Self
Skip lines inside fenced code blocks
Sourcepub fn skip_html_blocks(self) -> Self
pub fn skip_html_blocks(self) -> Self
Skip lines inside HTML blocks
Sourcepub fn skip_html_comments(self) -> Self
pub fn skip_html_comments(self) -> Self
Skip lines inside HTML comments
Sourcepub fn skip_mkdocstrings(self) -> Self
pub fn skip_mkdocstrings(self) -> Self
Skip lines inside mkdocstrings blocks
Sourcepub fn skip_esm_blocks(self) -> Self
pub fn skip_esm_blocks(self) -> Self
Skip lines inside ESM (ECMAScript Module) blocks
Sourcepub fn skip_math_blocks(self) -> Self
pub fn skip_math_blocks(self) -> Self
Skip lines inside math blocks ($$ … $$)
Trait Implementations§
Source§impl<'a> IntoIterator for FilteredLinesBuilder<'a>
impl<'a> IntoIterator for FilteredLinesBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for FilteredLinesBuilder<'a>
impl<'a> RefUnwindSafe for FilteredLinesBuilder<'a>
impl<'a> Send for FilteredLinesBuilder<'a>
impl<'a> Sync for FilteredLinesBuilder<'a>
impl<'a> Unpin for FilteredLinesBuilder<'a>
impl<'a> UnwindSafe for FilteredLinesBuilder<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more