Skip to main content

AttributeMember

Trait AttributeMember 

Source
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.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§