pub type SimpleLink = Link<()>;Expand description
Simple link without user data (backward compatible)
Aliased Type§
pub struct SimpleLink {
pub destination: String,
pub title: Option<String>,
pub children: Vec<Inline>,
pub user_data: (),
}Fields§
§destination: StringDestination URL (absolute or relative) or email address.
title: Option<String>Optional title (for links and images).
children: Vec<Inline>Inline content (text, code, etc.) inside the link or image.
user_data: ()User-defined data associated with this link