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§
fn name(&self) -> &'static str
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".