ProvideLibrary

Trait ProvideLibrary 

Source
pub trait ProvideLibrary: Send + Sync {
    // Required method
    fn provide_library(&self) -> &LazyHash<Library>;
}
Expand description

A trait for providing access to libraries.

Required Methods§

Source

fn provide_library(&self) -> &LazyHash<Library>

Provides the library.

Implementations on Foreign Types§

Source§

impl<W: ProvideLibrary> ProvideLibrary for &W

Source§

impl<W: ProvideLibrary> ProvideLibrary for Box<W>

Source§

impl<W: ProvideLibrary> ProvideLibrary for Arc<W>

Implementors§