pub struct DefaultAttribute {
pub local_name: NameId,
pub namespace: Option<NameId>,
pub attribute_key: AttributeKey,
pub value: String,
}Expand description
A default attribute that should be added to the element
Fields§
§local_name: NameIdLocal name of the attribute
namespace: Option<NameId>Namespace of the attribute
attribute_key: AttributeKeyThe attribute declaration key
value: StringThe default value
Trait Implementations§
Source§impl Clone for DefaultAttribute
impl Clone for DefaultAttribute
Source§fn clone(&self) -> DefaultAttribute
fn clone(&self) -> DefaultAttribute
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 DefaultAttribute
impl RefUnwindSafe for DefaultAttribute
impl Send for DefaultAttribute
impl Sync for DefaultAttribute
impl Unpin for DefaultAttribute
impl UnsafeUnpin for DefaultAttribute
impl UnwindSafe for DefaultAttribute
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