Trait shaku::Interface[][src]

pub trait Interface: Any + Send + Sync { }

Interfaces must be 'static in order to be stored in a module (hence the Any requirement).

The thread_safe feature is turned on, which requires interfaces to also implement Send and Sync.

Implementors

impl<T: Any + Send + Sync> Interface for T[src]

Loading content...