pub enum Ns {
}Expand description
An XML namespace, resolved from the URI it was declared with.
ODF spells every one of these with a conventional prefix and an invariant URI. Matching is on this rather than on the prefix, because the prefix is the document’s choice and the URI is the format’s.
Variants§
Office
urn:oasis:names:tc:opendocument:xmlns:office:1.0
Text
urn:oasis:names:tc:opendocument:xmlns:text:1.0
Style
urn:oasis:names:tc:opendocument:xmlns:style:1.0
Table
urn:oasis:names:tc:opendocument:xmlns:table:1.0
Draw
urn:oasis:names:tc:opendocument:xmlns:drawing:1.0
Presentation
urn:oasis:names:tc:opendocument:xmlns:presentation:1.0
Chart
urn:oasis:names:tc:opendocument:xmlns:chart:1.0
Fo
urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0, which is
where most of the formatting attributes live.
Svg
urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0
Number
urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0
Meta
urn:oasis:names:tc:opendocument:xmlns:meta:1.0
Manifest
urn:oasis:names:tc:opendocument:xmlns:manifest:1.0
Config
urn:oasis:names:tc:opendocument:xmlns:config:1.0
Of
urn:oasis:names:tc:opendocument:xmlns:of:1.2, the formula namespace.
Xlink
http://www.w3.org/1999/xlink
Dc
http://purl.org/dc/elements/1.1/
Loext
urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0
Calcext
urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0
Xmlns
A namespace declaration: xmlns:foo="...". Held as an attribute so that
writing a tree re-declares exactly what reading it found.
Other(Box<str>)
A namespace this crate has no name for. The URI is kept so that the element is written back into the namespace it came from.
None
No namespace: an unprefixed name with no default declaration in scope.
Implementations§
Trait Implementations§
impl Eq for Ns
impl StructuralPartialEq for Ns
Auto Trait Implementations§
impl Freeze for Ns
impl RefUnwindSafe for Ns
impl Send for Ns
impl Sync for Ns
impl Unpin for Ns
impl UnsafeUnpin for Ns
impl UnwindSafe for Ns
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.