pub enum DocumentTest {
Element(Option<ElementOrAttributeTest>),
SchemaElement(SchemaElementTest),
}Variants§
Element(Option<ElementOrAttributeTest>)
SchemaElement(SchemaElementTest)
Trait Implementations§
Source§impl Clone for DocumentTest
impl Clone for DocumentTest
Source§fn clone(&self) -> DocumentTest
fn clone(&self) -> DocumentTest
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 moreSource§impl Debug for DocumentTest
impl Debug for DocumentTest
impl Eq for DocumentTest
Source§impl PartialEq for DocumentTest
impl PartialEq for DocumentTest
Source§fn eq(&self, other: &DocumentTest) -> bool
fn eq(&self, other: &DocumentTest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentTest
Source§impl TypeInfo for DocumentTest
impl TypeInfo for DocumentTest
Source§fn subtype(&self, other: &DocumentTest) -> bool
fn subtype(&self, other: &DocumentTest) -> bool
Get whether
self is a subtype of other.Auto Trait Implementations§
impl Freeze for DocumentTest
impl RefUnwindSafe for DocumentTest
impl Send for DocumentTest
impl Sync for DocumentTest
impl Unpin for DocumentTest
impl UnsafeUnpin for DocumentTest
impl UnwindSafe for DocumentTest
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