pub enum Root<'m> {
Type(&'m TypeDef),
Element(&'m TypeDef, &'m Element),
}Expand description
What a document’s root element is: a type, or an element of a type (a fragment such as the
component of a structured body, whose content is declared inline).
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for Root<'m>
impl<'m> RefUnwindSafe for Root<'m>
impl<'m> Send for Root<'m>
impl<'m> Sync for Root<'m>
impl<'m> Unpin for Root<'m>
impl<'m> UnsafeUnpin for Root<'m>
impl<'m> UnwindSafe for Root<'m>
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