pub trait PoolString {
// Required methods
fn pool_as_str(&self) -> &str;
fn move_to_slot(self, slot: &mut String);
fn push_to_pool(self, str_pool: &mut StringPool);
fn str_len(&self) -> usize;
}Required Methods§
fn pool_as_str(&self) -> &str
fn move_to_slot(self, slot: &mut String)
fn push_to_pool(self, str_pool: &mut StringPool)
fn str_len(&self) -> usize
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".