pub trait KeyedObject {
// Required methods
fn key(&self) -> &Key;
fn key_mut(&mut self) -> &mut Key;
fn set_key(&mut self, key: Key);
}Expand description
Trait for types that have a key identity in the Plasma object system.
Corresponds to hsKeyedObject in C++.