pub struct Cartridge {
pub name: String,
pub root: PathBuf,
}Fields§
§name: StringThe directory name, which is how the cartridge path refers to it.
root: PathBufThe directory holding cartridge/, e.g. .../cartridges/app_brand.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cartridge
impl RefUnwindSafe for Cartridge
impl Send for Cartridge
impl Sync for Cartridge
impl Unpin for Cartridge
impl UnsafeUnpin for Cartridge
impl UnwindSafe for Cartridge
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