Trait LinkFormat

Source
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§

Source

fn noweb_target<S>(&self, s: S) -> String
where S: AsRef<str>,

Source

fn name_target<S>(&self, s: S) -> String
where S: AsRef<str>,

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.

Implementors§