pub struct InlineToken {
pub span: Span,
pub node: usize,
pub role: TokenRole,
}Expand description
A run of the text of an inline parse: the innermost inline that holds it,
as its index in InlineOutput::nodes, and the part of that inline it
is.
Fields§
§span: SpanThe run, a byte range into the text.
node: usizeThe innermost inline holding the run, as its index in
InlineOutput::nodes.
role: TokenRoleThe part of that inline the run is.
Trait Implementations§
Source§impl Clone for InlineToken
impl Clone for InlineToken
impl Copy for InlineToken
Source§impl Debug for InlineToken
impl Debug for InlineToken
impl Eq for InlineToken
Source§impl PartialEq for InlineToken
impl PartialEq for InlineToken
impl StructuralPartialEq for InlineToken
Auto Trait Implementations§
impl Freeze for InlineToken
impl RefUnwindSafe for InlineToken
impl Send for InlineToken
impl Sync for InlineToken
impl Unpin for InlineToken
impl UnsafeUnpin for InlineToken
impl UnwindSafe for InlineToken
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