trait AttributeMember {
// Required methods
fn attributes(&self) -> Option<&[SanitizerAttribute]>;
fn attributes_mut(&mut self) -> Option<&mut Vec<SanitizerAttribute>>;
fn remove_attributes(&self) -> Option<&[SanitizerAttribute]>;
fn remove_attributes_mut(&mut self) -> Option<&mut Vec<SanitizerAttribute>>;
fn set_attributes(&mut self, attributes: Option<Vec<SanitizerAttribute>>);
fn set_remove_attributes(
&mut self,
remove_attributes: Option<Vec<SanitizerAttribute>>,
);
}Expand description
Helper functions for accessing the “attributes” and “removeAttributes” members of
SanitizerElementWithAttributes.