pub struct OnDiskCompiledPackage {
pub root_path: PathBuf,
pub package: OnDiskPackage,
}Fields
root_path: PathBufPath to the root of the package and its data on disk. Relative to/rooted at the directory
containing the Move.toml file for this package.
package: OnDiskPackageImplementations
sourceimpl OnDiskCompiledPackage
impl OnDiskCompiledPackage
pub fn from_path(p: &Path) -> Result<Self>
pub fn into_compiled_package(&self) -> Result<CompiledPackage>
Trait Implementations
sourceimpl Clone for OnDiskCompiledPackage
impl Clone for OnDiskCompiledPackage
sourcefn clone(&self) -> OnDiskCompiledPackage
fn clone(&self) -> OnDiskCompiledPackage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for OnDiskCompiledPackage
impl Debug for OnDiskCompiledPackage
sourceimpl<'de> Deserialize<'de> for OnDiskCompiledPackage
impl<'de> Deserialize<'de> for OnDiskCompiledPackage
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for OnDiskCompiledPackage
impl Serialize for OnDiskCompiledPackage
Auto Trait Implementations
impl RefUnwindSafe for OnDiskCompiledPackage
impl Send for OnDiskCompiledPackage
impl Sync for OnDiskCompiledPackage
impl Unpin for OnDiskCompiledPackage
impl UnwindSafe for OnDiskCompiledPackage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more