pub struct Region {
pub open_fence: Span,
pub content: Span,
pub close_fence: Span,
pub body: Span,
}Expand description
A located embed region in host-file byte coordinates (the content is not
parsed). body is the host prose outside the fences — the suffix after the
close fence for frontmatter, the prefix before the open fence for endmatter.
Fields§
§open_fence: Span§content: Span§close_fence: Span§body: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnsafeUnpin for Region
impl UnwindSafe for Region
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