pub struct SimpletonBinaryFileContentProvider { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl ScriptContentProvider<SimpletonModule> for SimpletonBinaryFileContentProvider
impl ScriptContentProvider<SimpletonModule> for SimpletonBinaryFileContentProvider
fn load(&mut self, _: &str) -> Result<Option<SimpletonModule>, Box<dyn Error>>
fn unpack_load( &mut self, path: &str, ) -> Result<Vec<ScriptContent<SimpletonModule>>, Box<dyn Error>>
fn sanitize_path(&self, path: &str) -> Result<String, Box<dyn Error>>
fn join_paths( &self, parent: &str, relative: &str, ) -> Result<String, Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for SimpletonBinaryFileContentProvider
impl RefUnwindSafe for SimpletonBinaryFileContentProvider
impl Send for SimpletonBinaryFileContentProvider
impl Sync for SimpletonBinaryFileContentProvider
impl Unpin for SimpletonBinaryFileContentProvider
impl UnwindSafe for SimpletonBinaryFileContentProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more