pub struct MarkdownImage {
pub alt: String,
pub source: String,
pub title: Option<String>,
pub line: usize,
}Expand description
A Markdown inline image.
Fields§
§alt: StringThe cleaned alt text.
source: StringThe image source.
title: Option<String>The optional inline title.
line: usizeThe 1-based line where the image was found.
Trait Implementations§
Source§impl Clone for MarkdownImage
impl Clone for MarkdownImage
Source§fn clone(&self) -> MarkdownImage
fn clone(&self) -> MarkdownImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarkdownImage
impl Debug for MarkdownImage
Source§impl PartialEq for MarkdownImage
impl PartialEq for MarkdownImage
Source§fn eq(&self, other: &MarkdownImage) -> bool
fn eq(&self, other: &MarkdownImage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MarkdownImage
impl StructuralPartialEq for MarkdownImage
Auto Trait Implementations§
impl Freeze for MarkdownImage
impl RefUnwindSafe for MarkdownImage
impl Send for MarkdownImage
impl Sync for MarkdownImage
impl Unpin for MarkdownImage
impl UnsafeUnpin for MarkdownImage
impl UnwindSafe for MarkdownImage
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