pub struct ExpectedElement {
pub local_name: NameId,
pub namespace: Option<NameId>,
pub element_key: Option<ElementKey>,
}Expand description
An expected element in the current content model position
Fields§
§local_name: NameIdLocal name of the expected element
namespace: Option<NameId>Namespace of the expected element
element_key: Option<ElementKey>The element declaration key, if available
Trait Implementations§
Source§impl Clone for ExpectedElement
impl Clone for ExpectedElement
Source§fn clone(&self) -> ExpectedElement
fn clone(&self) -> ExpectedElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExpectedElement
impl RefUnwindSafe for ExpectedElement
impl Send for ExpectedElement
impl Sync for ExpectedElement
impl Unpin for ExpectedElement
impl UnsafeUnpin for ExpectedElement
impl UnwindSafe for ExpectedElement
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