pub trait IdentifiableAbstractionElement: AbstractionElement {
// Provided methods
fn name(&self) -> Option<String> { ... }
fn set_name(&self, name: &str) -> Result<(), AutosarAbstractionError> { ... }
}
Expand description
The IdentifiableAbstractionElement
trait is implemented by all classes that represent elements in the AUTOSAR model that have an item name.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.