pub struct Image<'a> {
pub kind: LinkKind<'a>,
pub alt: ArenaVec<'a, Segment>,
pub children: ArenaVec<'a, Inline<'a>>,
pub span: Span,
}Expand description
 and the reference forms.
Fields§
§kind: LinkKind<'a>§alt: ArenaVec<'a, Segment>The raw text between ![ and ], as logical-line pieces
(a printer reproduces it as written; mdast cooks it to alt).
children: ArenaVec<'a, Inline<'a>>The alt text parsed as inline content. Nested link/image syntax is preserved here, not cooked.
span: SpanTrait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Image<'a>
impl<'a> !Send for Image<'a>
impl<'a> !UnwindSafe for Image<'a>
impl<'a> Freeze for Image<'a>
impl<'a> Sync for Image<'a>
impl<'a> Unpin for Image<'a>
impl<'a> UnsafeUnpin for Image<'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