pub struct ExpectedAttribute {
pub local_name: NameId,
pub namespace: Option<NameId>,
pub attribute_key: Option<AttributeKey>,
pub required: bool,
}Expand description
An expected attribute for the current element type
Fields§
§local_name: NameIdLocal name of the attribute
namespace: Option<NameId>Namespace of the attribute
attribute_key: Option<AttributeKey>The attribute declaration key
required: boolWhether the attribute is required
Trait Implementations§
Source§impl Clone for ExpectedAttribute
impl Clone for ExpectedAttribute
Source§fn clone(&self) -> ExpectedAttribute
fn clone(&self) -> ExpectedAttribute
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 ExpectedAttribute
impl RefUnwindSafe for ExpectedAttribute
impl Send for ExpectedAttribute
impl Sync for ExpectedAttribute
impl Unpin for ExpectedAttribute
impl UnsafeUnpin for ExpectedAttribute
impl UnwindSafe for ExpectedAttribute
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