pub(crate) struct BlockParser<'a> {
shared: &'a mut Shared,
inherit: BlockInherit,
_none: &'a str,
}Fields§
§inherit: BlockInherit§_none: &'a strImplementations§
Source§impl<'a> BlockParser<'a>
impl<'a> BlockParser<'a>
pub(crate) fn new(shared: &'a mut Shared, inherit: BlockInherit) -> Self
pub(crate) fn update_indir(&mut self, indir: &String)
pub(crate) fn parse(&mut self, raw_source: &'a str, only: &str) -> String
fn handle_unmatched_block(&mut self, p: usize)
pub(crate) fn parse_with_blocks( &mut self, raw_source: &'a str, blocks: &[(usize, usize)], only: &str, ) -> String
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BlockParser<'a>
impl<'a> RefUnwindSafe for BlockParser<'a>
impl<'a> Send for BlockParser<'a>
impl<'a> Sync for BlockParser<'a>
impl<'a> Unpin for BlockParser<'a>
impl<'a> !UnwindSafe for BlockParser<'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