pub enum DocumentKind {
Full,
Fragment,
}Expand description
Whether the document is a complete XML document or a validation fragment.
Variants§
Full
Complete XML document (default).
Fragment
Assertion-evaluation fragment (synthetic root wrapping a single element).
Trait Implementations§
Source§impl Clone for DocumentKind
impl Clone for DocumentKind
Source§fn clone(&self) -> DocumentKind
fn clone(&self) -> DocumentKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DocumentKind
Source§impl Debug for DocumentKind
impl Debug for DocumentKind
Source§impl Default for DocumentKind
impl Default for DocumentKind
Source§fn default() -> DocumentKind
fn default() -> DocumentKind
Returns the “default value” for a type. Read more
impl Eq for DocumentKind
Source§impl PartialEq for DocumentKind
impl PartialEq for DocumentKind
Source§fn eq(&self, other: &DocumentKind) -> bool
fn eq(&self, other: &DocumentKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentKind
Auto Trait Implementations§
impl Freeze for DocumentKind
impl RefUnwindSafe for DocumentKind
impl Send for DocumentKind
impl Sync for DocumentKind
impl Unpin for DocumentKind
impl UnsafeUnpin for DocumentKind
impl UnwindSafe for DocumentKind
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