pub struct Image {
pub uri: Url,
pub align: Option<AlignHV>,
pub alt: Option<String>,
pub height: Option<Measure>,
pub width: Option<Measure>,
pub scale: Option<u8>,
pub target: Option<Url>,
}
Fields§
§uri: Url
§align: Option<AlignHV>
§alt: Option<String>
§height: Option<Measure>
§width: Option<Measure>
§scale: Option<u8>
§target: Option<Url>
Implementations§
Trait Implementations§
Source§impl ExtraAttributes<Image> for Image
impl ExtraAttributes<Image> for Image
Source§impl ExtraAttributes<Image> for ImageInline
impl ExtraAttributes<Image> for ImageInline
fn with_extra(extra: ImageInline) -> ImageInline
fn extra(&self) -> &ImageInline
fn extra_mut(&mut self) -> &mut ImageInline
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 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