pub struct ElementFromEvents { /* private fields */ }Available on crate feature
minidom only.Expand description
Construct a minidom::Element from rxml::Events
This can be constructed from the
FromXml::from_events
implementation on minidom::Element.
Implementations§
Source§impl ElementFromEvents
impl ElementFromEvents
Sourcepub fn new(qname: QName, attrs: AttrMap) -> Self
pub fn new(qname: QName, attrs: AttrMap) -> Self
Construct a new builder from an element header.
Unlike the FromXml::from_events implementation on
minidom::Element, this is contractually infallible. Using this may
thus save you an unwrap() call.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ElementFromEvents
impl RefUnwindSafe for ElementFromEvents
impl Send for ElementFromEvents
impl Sync for ElementFromEvents
impl Unpin for ElementFromEvents
impl UnwindSafe for ElementFromEvents
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