pub struct Document<'a> {
pub span: Span,
pub head: DocumentHead<'a>,
pub body: DocumentBody<'a>,
pub directives_end_marker: Option<Span>,
pub document_end_marker: Option<Span>,
}Fields§
§span: Span§head: DocumentHead<'a>§body: DocumentBody<'a>§directives_end_marker: Option<Span>Span of the --- marker if present.
document_end_marker: Option<Span>Span of the ... marker if present.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Document<'a>
impl<'a> !Send for Document<'a>
impl<'a> !Sync for Document<'a>
impl<'a> !UnwindSafe for Document<'a>
impl<'a> Freeze for Document<'a>
impl<'a> Unpin for Document<'a>
impl<'a> UnsafeUnpin for Document<'a>
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