pub trait SemanticsNode: ModifierNode {
// Provided method
fn merge_semantics(&self, _config: &mut SemanticsConfiguration) { ... }
}Expand description
Marker trait for semantics modifier nodes.
Semantics nodes participate in the semantics tree construction. They can add or modify semantic properties of their wrapped content for accessibility and testing purposes.
Provided Methods§
Sourcefn merge_semantics(&self, _config: &mut SemanticsConfiguration)
fn merge_semantics(&self, _config: &mut SemanticsConfiguration)
Merges semantic properties into the provided configuration.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".