pub struct M;Expand description
Office Math (m:) — equations embedded in a paragraph.
Marker for the namespace http://schemas.openxmlformats.org/officeDocument/2006/math.
All three associated items are generated:
Self::ns for the XNamespace, Self::name for an
XName in it, and Self::URI as a &'static str.
Implementations§
Source§impl M
impl M
Sourcepub const URI: &'static str = "http://schemas.openxmlformats.org/officeDocument/2006/math"
pub const URI: &'static str = "http://schemas.openxmlformats.org/officeDocument/2006/math"
The namespace URI as a &'static str. Use it in match arms
and other places that need a string constant.
Sourcepub fn ns() -> XNamespace
pub fn ns() -> XNamespace
The namespace, as an XNamespace rooted at this URI.
Source§impl M
impl M
Sourcepub fn r() -> XName
pub fn r() -> XName
Cached XName for the local name r.
Stored in a process-wide OnceLock so every compare avoids
re-entering the interning table for the same syntactic name
(NAME-01).
Auto Trait Implementations§
impl Forget for M
impl Freeze for M
impl Move for M
impl RefUnwindSafe for M
impl Send for M
impl Sync for M
impl Unpin for M
impl UnsafeUnpin for M
impl UnwindSafe for M
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