trait SanitizerConfigAlgorithm {
// Required methods
fn is_valid(&self) -> bool;
fn remove_element(&mut self, element: SanitizerElement) -> bool;
fn remove_attribute(&mut self, attribute: SanitizerAttribute) -> bool;
fn remove_unsafe(&mut self) -> bool;
fn canonicalize(&mut self, allow_comments_pis_and_data_attributes: bool);
}Required Methods§
Sourcefn remove_element(&mut self, element: SanitizerElement) -> bool
fn remove_element(&mut self, element: SanitizerElement) -> bool
Sourcefn remove_attribute(&mut self, attribute: SanitizerAttribute) -> bool
fn remove_attribute(&mut self, attribute: SanitizerAttribute) -> bool
Sourcefn remove_unsafe(&mut self) -> bool
fn remove_unsafe(&mut self) -> bool
Sourcefn canonicalize(&mut self, allow_comments_pis_and_data_attributes: bool)
fn canonicalize(&mut self, allow_comments_pis_and_data_attributes: bool)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".