pub struct Image {
pub footer: bool,
pub text: String,
pub url: String,
}Expand description
A markdown image.
Fields§
Whether the image’s link should be added as a footer reference.
text: StringThe text of the image.
url: StringThe url of the image.
Implementations§
Trait Implementations§
Returns the
MarkdownElement that can be used to render the footer.Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin 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