This is similar to RsvgSaxHandler; we'll use this trait to move the separate handler contexts to Rust.