pub trait LinkFormat {
// Required methods
fn noweb_target<S>(&self, s: S) -> String
where S: AsRef<str>;
fn name_target<S>(&self, s: S) -> String
where S: AsRef<str>;
fn make_id_link<S>(&self, id: S) -> String
where S: AsRef<str>;
fn make_heading_link<S>(&self, heading: S) -> String
where S: AsRef<str>;
fn link<S>(&self, target: S) -> String
where S: AsRef<str>;
fn link_with_description<S1, S2>(
&self,
target: S1,
description: S2,
) -> String
where S1: AsRef<str>,
S2: AsRef<str>;
}
Required Methods§
fn noweb_target<S>(&self, s: S) -> String
fn name_target<S>(&self, s: S) -> String
fn make_id_link<S>(&self, id: S) -> String
fn make_heading_link<S>(&self, heading: S) -> String
fn link<S>(&self, target: S) -> String
fn link_with_description<S1, S2>(&self, target: S1, description: S2) -> String
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.