Trait plugin::Extensible
[−]
[src]
pub trait Extensible { fn extensions(&self) -> &TypeMap; fn extensions_mut(&mut self) -> &mut TypeMap; }
Defines an interface that extensible types must implement.
Extensible types must contain a TypeMap.
Required Methods
fn extensions(&self) -> &TypeMap
Get a reference to the type's extension storage.
fn extensions_mut(&mut self) -> &mut TypeMap
Get a mutable reference to the type's extension storage.