pub enum SchemaSyntax {
Compact,
Xml,
}Expand description
Which of RELAX NG’s two equivalent syntaxes a SchemaSource’s text is
written in.
Variants§
Compact
The compact (non-XML) syntax, conventionally using a .rnc file
extension.
Xml
The XML syntax, conventionally using a .rng file extension.
Trait Implementations§
Source§impl Clone for SchemaSyntax
impl Clone for SchemaSyntax
impl Copy for SchemaSyntax
Source§impl Debug for SchemaSyntax
impl Debug for SchemaSyntax
impl Eq for SchemaSyntax
Source§impl PartialEq for SchemaSyntax
impl PartialEq for SchemaSyntax
impl StructuralPartialEq for SchemaSyntax
Auto Trait Implementations§
impl Freeze for SchemaSyntax
impl RefUnwindSafe for SchemaSyntax
impl Send for SchemaSyntax
impl Sync for SchemaSyntax
impl Unpin for SchemaSyntax
impl UnsafeUnpin for SchemaSyntax
impl UnwindSafe for SchemaSyntax
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