pub struct Parser {}
Implementations§
source§impl Parser
impl Parser
pub fn new() -> Self
pub fn parse_ident(&self, input: ParseStream<'_>) -> Result<DashIdent>
pub fn parse_doctype(&self, input: ParseStream<'_>) -> Result<Doctype>
pub fn parse_value(&self, input: ParseStream<'_>) -> Result<Value>
pub fn parse_attr(&self, input: ParseStream<'_>) -> Result<Attr>
pub fn parse_tag(&self, input: ParseStream<'_>) -> Result<Tag>
pub fn parse_node(&self, input: ParseStream<'_>) -> Result<Node>
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
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