pub struct Image {
pub position: Option<Position>,
pub alt: String,
pub url: String,
pub title: Option<String>,
}
Expand description
Image.
> | ![a](b)
^^^^^^^
Fields§
§position: Option<Position>
Positional info.
alt: String
Equivalent content for environments that cannot represent the node as intended.
url: String
URL to the referenced resource.
title: Option<String>
Advisory info for the resource, such as something that would be appropriate for a tooltip.
Trait Implementations§
source§impl PartialEq for Image
impl PartialEq for Image
impl Eq for Image
impl StructuralEq for Image
impl StructuralPartialEq for Image
Auto Trait Implementations§
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