pub struct HtmlParser { /* private fields */ }Implementations§
Source§impl HtmlParser
impl HtmlParser
pub fn new(config: HtmlLanguage) -> Self
Trait Implementations§
Source§impl Parser<HtmlLanguage> for HtmlParser
impl Parser<HtmlLanguage> for HtmlParser
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<HtmlLanguage>,
) -> ParseOutput<'a, HtmlLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<HtmlLanguage>, ) -> ParseOutput<'a, HtmlLanguage>
The core parsing entry point. Read more
Auto Trait Implementations§
impl Freeze for HtmlParser
impl RefUnwindSafe for HtmlParser
impl Send for HtmlParser
impl Sync for HtmlParser
impl Unpin for HtmlParser
impl UnwindSafe for HtmlParser
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