pub trait StringIntern {
// Required method
fn intern_string(&mut self, value: &str) -> Result<u32>;
}Expand description
Intern decoded string contents in the current section’s string table.
Equal contents must return the same index, including contents already in the table. Implementations report an error if the table cannot represent an index.
Required Methods§
fn intern_string(&mut self, value: &str) -> Result<u32>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".