pub struct ConduitPaths {
pub root: PathBuf,
pub store: PathBuf,
}Fields§
§root: PathBuf§store: PathBufImplementations§
Source§impl ConduitPaths
impl ConduitPaths
pub fn new<P: AsRef<Path>>(project_root: P) -> Self
pub fn manifest_name() -> &'static str
pub fn lockfile_name() -> &'static str
pub fn include_name() -> &'static str
pub fn manifest(&self) -> PathBuf
pub fn lock(&self) -> PathBuf
pub fn include(&self) -> PathBuf
pub fn runtimes_dir(&self) -> PathBuf
pub fn objects_dir(&self) -> PathBuf
pub fn ensure_dirs(&self) -> Result<()>
pub fn get_runtime_id(loader: &Loader, mc_version: &str) -> String
pub fn is_conduit_file(name: &str) -> bool
Trait Implementations§
Source§impl Clone for ConduitPaths
impl Clone for ConduitPaths
Source§fn clone(&self) -> ConduitPaths
fn clone(&self) -> ConduitPaths
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConduitPaths
impl RefUnwindSafe for ConduitPaths
impl Send for ConduitPaths
impl Sync for ConduitPaths
impl Unpin for ConduitPaths
impl UnsafeUnpin for ConduitPaths
impl UnwindSafe for ConduitPaths
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