#[non_exhaustive]pub enum XmlLayout {
Native,
Xsd,
}Expand description
Which XML layout a codec reads and writes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Native
This crate’s own lossless layout: one top-level element per entity,
i<n> ids and references, explicit kind markers where an attribute
string could not carry a value’s kind. Reads and writes.
Xsd
The buildingSMART ifcXML configuration of ISO 10303-28 that the
release XSD declares: entities nested and defined in place, ref /
href references, inverse attributes, -wrapper typed values and
space-separated list attributes. Reads and writes, always
schema-strict; written documents validate against the release XSD.
Trait Implementations§
impl Copy for XmlLayout
impl Eq for XmlLayout
impl StructuralPartialEq for XmlLayout
Auto Trait Implementations§
impl Freeze for XmlLayout
impl RefUnwindSafe for XmlLayout
impl Send for XmlLayout
impl Sync for XmlLayout
impl Unpin for XmlLayout
impl UnsafeUnpin for XmlLayout
impl UnwindSafe for XmlLayout
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