pub struct NodeLink {
pub url: String,
pub title: String,
}
Expand description
The details of a link’s destination, or an image’s source.
Fields§
§url: String
The URL for the link destination or image source.
title: String
The title for the link or image.
Note this field is used for the title
attribute by the HTML formatter even for images;
alt
text is supplied in the image inline text.
Trait Implementations§
source§impl PartialEq for NodeLink
impl PartialEq for NodeLink
impl Eq for NodeLink
impl StructuralEq for NodeLink
impl StructuralPartialEq for NodeLink
Auto Trait Implementations§
impl RefUnwindSafe for NodeLink
impl Send for NodeLink
impl Sync for NodeLink
impl Unpin for NodeLink
impl UnwindSafe for NodeLink
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