pub struct Context<'x> { /* private fields */ }
Expand description
§Parsing context for FromEventsBuilder
For the most part, FromEventsBuilder
implementations can work with
only the information inside the rxml::Event
which is delivered to
them (and any information they may have stored from previous events).
However, there is (currently) one special case: the xml:lang
attribute.
That attribute is inherited across the entire document tree hierarchy. If
the parsed element is not the top-level element, there may be an implicit
value for xml:lang
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'x> Freeze for Context<'x>
impl<'x> RefUnwindSafe for Context<'x>
impl<'x> Send for Context<'x>
impl<'x> Sync for Context<'x>
impl<'x> Unpin for Context<'x>
impl<'x> UnwindSafe for Context<'x>
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