pub struct Image {
pub meta: NodeMeta,
pub destination: String,
pub destination_kind: LinkDestinationKind,
pub title: Option<String>,
pub title_kind: Option<LinkTitleKind>,
pub alt: Vec<Inline>,
}Expand description
An inline image: .
Fields§
§meta: NodeMetaNode metadata (source span).
destination: StringThe image source URL.
destination_kind: LinkDestinationKindHow the destination was delimited (bare or <…>).
title: Option<String>The optional image title.
title_kind: Option<LinkTitleKind>How the title was quoted, if present.
alt: Vec<Inline>The image’s alt-text inline content.
Trait Implementations§
impl Eq for Image
impl StructuralPartialEq for Image
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnsafeUnpin for Image
impl UnwindSafe for Image
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