pub struct ATTRIBUTE_ID { /* 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_ID
impl Deref for ATTRIBUTE_ID
impl LazyStatic for ATTRIBUTE_ID
Auto Trait Implementations§
impl Freeze for ATTRIBUTE_ID
impl RefUnwindSafe for ATTRIBUTE_ID
impl Send for ATTRIBUTE_ID
impl Sync for ATTRIBUTE_ID
impl Unpin for ATTRIBUTE_ID
impl UnsafeUnpin for ATTRIBUTE_ID
impl UnwindSafe for ATTRIBUTE_ID
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