pub struct AttributeInheritance { /* private fields */ }
Expand description
Attribute inheritance model for nested elements
Implementations§
Source§impl AttributeInheritance
impl AttributeInheritance
Sourcepub fn should_inherit(&self, qname: &QName) -> bool
pub fn should_inherit(&self, qname: &QName) -> bool
Check if an attribute should be inherited
Sourcepub fn apply_inheritance(&self, parent: &AttributeMap, child: &mut AttributeMap)
pub fn apply_inheritance(&self, parent: &AttributeMap, child: &mut AttributeMap)
Apply inheritance from parent to child attributes
Trait Implementations§
Source§impl Clone for AttributeInheritance
impl Clone for AttributeInheritance
Source§fn clone(&self) -> AttributeInheritance
fn clone(&self) -> AttributeInheritance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AttributeInheritance
impl Debug for AttributeInheritance
Auto Trait Implementations§
impl Freeze for AttributeInheritance
impl RefUnwindSafe for AttributeInheritance
impl Send for AttributeInheritance
impl Sync for AttributeInheritance
impl Unpin for AttributeInheritance
impl UnwindSafe for AttributeInheritance
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