Struct cargo_rdme::transform::DocTransformIntralinks
source · [−]pub struct DocTransformIntralinks<F> { /* private fields */ }Implementations
sourceimpl<F> DocTransformIntralinks<F> where
F: Fn(&str),
impl<F> DocTransformIntralinks<F> where
F: Fn(&str),
pub fn new(
crate_name: impl Into<String>,
entrypoint: impl AsRef<Path>,
emit_warning: F,
config: Option<IntralinksConfig>
) -> DocTransformIntralinks<F>
Trait Implementations
sourceimpl<F> DocTransform for DocTransformIntralinks<F> where
F: Fn(&str),
impl<F> DocTransform for DocTransformIntralinks<F> where
F: Fn(&str),
type E = IntralinkError
fn transform(&self, doc: &Doc) -> Result<Doc, IntralinkError>
Auto Trait Implementations
impl<F> RefUnwindSafe for DocTransformIntralinks<F> where
F: RefUnwindSafe,
impl<F> Send for DocTransformIntralinks<F> where
F: Send,
impl<F> Sync for DocTransformIntralinks<F> where
F: Sync,
impl<F> Unpin for DocTransformIntralinks<F> where
F: Unpin,
impl<F> UnwindSafe for DocTransformIntralinks<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more