pub struct SchemaDocument { /* private fields */ }Expand description
A parsed (but not yet composed/simplified) RELAX NG schema, as returned
by crate::parse. Pass it to crate::simplify (or use
crate::Schema::compile, which does both steps) to get a
crate::CompiledSchema ready to validate documents against.
Trait Implementations§
Source§impl Clone for SchemaDocument
impl Clone for SchemaDocument
Source§impl Debug for SchemaDocument
impl Debug for SchemaDocument
impl Eq for SchemaDocument
Source§impl PartialEq for SchemaDocument
impl PartialEq for SchemaDocument
impl StructuralPartialEq for SchemaDocument
Auto Trait Implementations§
impl Freeze for SchemaDocument
impl RefUnwindSafe for SchemaDocument
impl Send for SchemaDocument
impl Sync for SchemaDocument
impl Unpin for SchemaDocument
impl UnsafeUnpin for SchemaDocument
impl UnwindSafe for SchemaDocument
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