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

Get a reference to the type's extension storage.

Get a mutable reference to the type's extension storage.

Implementors