Struct debris_backends::datapack::Datapack
source · struct Datapack {
dir: Directory,
main_dir: String,
}
Expand description
Represents an in-memory datapack
Fields§
§dir: Directory
The virtual file structure
main_dir: String
The name of the main directory
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Datapack
impl Send for Datapack
impl Sync for Datapack
impl Unpin for Datapack
impl UnwindSafe for Datapack
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