pub struct Image {
pub kind: &'static str,
pub href: Option<String>,
pub alt: Option<String>,
pub title: Option<String>,
pub id: Option<String>,
}Expand description
An empty element with an image name as an attribute
Fields§
§kind: &'static str“type” is reserved in Rust
href: Option<String>§alt: Option<String>§title: Option<String>§id: Option<String>Trait Implementations§
source§impl PartialEq<Image> for Image
impl PartialEq<Image> 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