pub trait CustomRockLayout:
Debug
+ Send
+ Sync {
// Required methods
fn make_symlinks(&self, tree: &Tree, package: &LocalPackage) -> Result<()>;
fn remove_symlinks(&self, tree: &Tree, package: &LocalPackage) -> Result<()>;
}Expand description
A custom layout for entrypoint packages. Implementations arrange symlinks so external tools can find files at the locations they expect.
Required Methods§
fn make_symlinks(&self, tree: &Tree, package: &LocalPackage) -> Result<()>
fn remove_symlinks(&self, tree: &Tree, package: &LocalPackage) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".