pub struct Link {
pub url: String,
pub text: String,
pub footer: bool,
pub inlined: bool,
}
Expand description
A markdown link.
Fields§
§url: String
The url of the link.
text: String
The text of the link.
Whether the Link
’s url should be rendered as a footer.
inlined: bool
Whether 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