pub struct CodeBlock<'a> {
pub kind: CodeBlockKind,
pub lines: ArenaVec<'a, Segment>,
pub span: Span,
}Fields§
§kind: CodeBlockKind§lines: ArenaVec<'a, Segment>Logical content lines (container prefixes and fence/code indent stripped). The printer recomputes the minimum fence length from them.
span: SpanTrait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CodeBlock<'a>
impl<'a> !Send for CodeBlock<'a>
impl<'a> !UnwindSafe for CodeBlock<'a>
impl<'a> Freeze for CodeBlock<'a>
impl<'a> Sync for CodeBlock<'a>
impl<'a> Unpin for CodeBlock<'a>
impl<'a> UnsafeUnpin for CodeBlock<'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