pub struct ATTRIBUTE_ACE_REF { /* private fields */ }Methods from Deref<Target = QualName>§
Sourcepub fn expanded(&self) -> ExpandedName<'_>
pub fn expanded(&self) -> ExpandedName<'_>
Take a reference of self as an ExpandedName, dropping the unresolved prefix.
In XML and HTML prefixes are only used to extract the relevant namespace URI. Expanded name only contains resolved namespace and tag name, which are only relevant parts of an XML or HTML tag and attribute name respectively.
In lieu of our XML Namespace example
<furn:table> <!-- namespace url is https://furniture.rs -->For it the expanded name would become roughly equivalent to:
ExpandedName {
ns: "https://furniture.rs",
local: "table",
}Trait Implementations§
Source§impl Deref for ATTRIBUTE_ACE_REF
impl Deref for ATTRIBUTE_ACE_REF
impl LazyStatic for ATTRIBUTE_ACE_REF
Auto Trait Implementations§
impl Freeze for ATTRIBUTE_ACE_REF
impl RefUnwindSafe for ATTRIBUTE_ACE_REF
impl Send for ATTRIBUTE_ACE_REF
impl Sync for ATTRIBUTE_ACE_REF
impl Unpin for ATTRIBUTE_ACE_REF
impl UnsafeUnpin for ATTRIBUTE_ACE_REF
impl UnwindSafe for ATTRIBUTE_ACE_REF
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