struct Context<'input> {
opt: ParsingOptions,
namespace_start_idx: usize,
current_attributes: Vec<TempAttributeData<'input>>,
awaiting_subtree: Vec<NodeId>,
parent_prefixes: Vec<&'input str>,
entities: Vec<Entity<'input>>,
after_text: bool,
parent_id: NodeId,
tag_name: TagNameSpan<'input>,
loop_detector: LoopDetector,
doc: Document<'input>,
}Fields§
§opt: ParsingOptions§namespace_start_idx: usize§current_attributes: Vec<TempAttributeData<'input>>§awaiting_subtree: Vec<NodeId>§parent_prefixes: Vec<&'input str>§entities: Vec<Entity<'input>>§after_text: bool§parent_id: NodeId§tag_name: TagNameSpan<'input>§loop_detector: LoopDetector§doc: Document<'input>Implementations§
Source§impl Context<'_>
impl Context<'_>
fn resolve_namespaces(&mut self) -> ShortRange
Trait Implementations§
Auto Trait Implementations§
impl<'input> Freeze for Context<'input>
impl<'input> RefUnwindSafe for Context<'input>
impl<'input> Send for Context<'input>
impl<'input> Sync for Context<'input>
impl<'input> Unpin for Context<'input>
impl<'input> UnwindSafe for Context<'input>
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