pub trait ReadonlyAttributes {
// Provided method
fn readonly_attributes() -> &'static [&'static str] { ... }
}Expand description
Trait implemented by records that declare readonly attributes.
Provided Methods§
Sourcefn readonly_attributes() -> &'static [&'static str]
fn readonly_attributes() -> &'static [&'static str]
Returns the fields that must not change after creation.
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.