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