pub struct ImageReference {
pub path: PathBuf,
pub caption: Option<String>,
pub alt_text: Option<String>,
}Expand description
Image reference in document
Fields§
§path: PathBuf§caption: Option<String>§alt_text: Option<String>Trait Implementations§
Source§impl Clone for ImageReference
impl Clone for ImageReference
Source§fn clone(&self) -> ImageReference
fn clone(&self) -> ImageReference
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImageReference
impl RefUnwindSafe for ImageReference
impl Send for ImageReference
impl Sync for ImageReference
impl Unpin for ImageReference
impl UnwindSafe for ImageReference
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