Struct veloren_common_assets::StringLoader
pub struct StringLoader(());
Expand description
Loads assets as a String.
The file content is parsed as UTF-8.
This Loader cannot be used to implement the Asset trait, but can be used by
LoadFrom
.
Tuple Fields§
§0: ()
Trait Implementations§
§impl Loader<Box<str>> for StringLoader
impl Loader<Box<str>> for StringLoader
Auto Trait Implementations§
impl RefUnwindSafe for StringLoader
impl Send for StringLoader
impl Sync for StringLoader
impl Unpin for StringLoader
impl UnwindSafe for StringLoader
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