Struct rinutil::autoloader::AutoLoader [−][src]
pub struct AutoLoader<T> { /* fields omitted */ }
Methods
impl<T> AutoLoader<T>
[src]
impl<T> AutoLoader<T>
pub fn new<F: 'static + Fn() -> Result<T>>(
files: Vec<String>,
load_function: F
) -> AutoLoader<T>
[src]
pub fn new<F: 'static + Fn() -> Result<T>>(
files: Vec<String>,
load_function: F
) -> AutoLoader<T>
pub fn update(&mut self) -> Result<Option<T>>
[src]
pub fn update(&mut self) -> Result<Option<T>>
pub fn load(&mut self) -> Result<T>
[src]
pub fn load(&mut self) -> Result<T>
Auto Trait Implementations
impl<T> !Send for AutoLoader<T>
impl<T> !Send for AutoLoader<T>
impl<T> !Sync for AutoLoader<T>
impl<T> !Sync for AutoLoader<T>