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