[][src]Struct sn0int::engine::Library

pub struct Library<'a> { /* fields omitted */ }

Methods

impl<'a> Library<'a>[src]

pub fn new(verbose_init: bool, config: &'a Config) -> Result<Library>[src]

pub fn reload_modules(&mut self) -> Result<usize>[src]

pub fn private_modules(path: &Path) -> Result<bool>[src]

pub fn reload_modules_quiet(&mut self) -> Result<()>[src]

pub fn load_module_folder(
    &mut self,
    folder: &Path,
    author_name: &str,
    private_modules: bool
) -> Result<()>
[src]

pub fn load_single_module(
    &mut self,
    path: &Path,
    author_name: &str,
    module_name: &str,
    private_module: bool
) -> Result<()>
[src]

pub fn get(&self, name: &str) -> Result<&Module>[src]

pub fn get_opt(&self, name: &str) -> Result<Option<&Module>>[src]

pub fn list(&self) -> Vec<&Module>[src]

pub fn variants(&self) -> Vec<String>[src]

Trait Implementations

impl<'a> Debug for Library<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Library<'a>

impl<'a> Send for Library<'a>

impl<'a> Sync for Library<'a>

impl<'a> Unpin for Library<'a>

impl<'a> UnwindSafe for Library<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,