Skip to main content

SvgPostprocessor

Trait SvgPostprocessor 

Source
pub trait SvgPostprocessor: Send + Sync {
    // Required methods
    fn name(&self) -> &'static str;
    fn process<'a>(
        &self,
        svg: Cow<'a, str>,
        ctx: &SvgPostprocessContext<'_>,
    ) -> Result<Cow<'a, str>>;
}

Required Methods§

Source

fn name(&self) -> &'static str

Source

fn process<'a>( &self, svg: Cow<'a, str>, ctx: &SvgPostprocessContext<'_>, ) -> Result<Cow<'a, str>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§