pub struct ImageReference {
pub target: String,
pub imagesdir: Option<String>,
}Expand description
Fields§
§target: StringThe image target as written in the macro, after attribute references in
the target have been substituted (e.g. fixtures/dot.gif).
imagesdir: Option<String>The value of the imagesdir document attribute at the point of
reference, or None when it was unset.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageReference
impl Debug for ImageReference
Source§impl Display for ImageReference
impl Display for ImageReference
impl Eq for ImageReference
Source§impl PartialEq for ImageReference
impl PartialEq for ImageReference
impl StructuralPartialEq for ImageReference
Auto Trait Implementations§
impl Freeze for ImageReference
impl RefUnwindSafe for ImageReference
impl Send for ImageReference
impl Sync for ImageReference
impl Unpin for ImageReference
impl UnsafeUnpin 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