pub struct Link {
pub url: String,
pub text: String,
pub footer: bool,
pub inlined: bool,
}Expand description
A markdown link.
Fields§
§url: StringThe url of the link.
text: StringThe text of the link.
Whether the Link’s url should be rendered as a footer.
inlined: boolWhether the link should be inlined (no new line).
Implementations§
Trait Implementations§
Returns the
MarkdownElement that can be used to render the footer.Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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