Struct NodeLink

struct NodeLink { ... }

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.

Implementations

impl Clone for NodeLink

fn clone(self: &Self) -> NodeLink

impl Debug for NodeLink

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Eq for NodeLink

impl Freeze for NodeLink

impl PartialEq for NodeLink

fn eq(self: &Self, other: &NodeLink) -> bool

impl RefUnwindSafe for NodeLink

impl Send for NodeLink

impl StructuralPartialEq for NodeLink

impl Sync for NodeLink

impl Unpin for NodeLink

impl UnwindSafe for NodeLink

impl<T> Any for NodeLink

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for NodeLink

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for NodeLink

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for NodeLink

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for NodeLink

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for NodeLink

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for NodeLink

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for NodeLink

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for NodeLink

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>