tinymist_package::pack

Trait CloneIntoPack

Source
pub trait CloneIntoPack: Debug {
    // Required method
    fn clone_into_pack(&mut self, pack: &mut impl PackFs) -> Result<()>;
}
Expand description

The pack trait is used to hold a package.

Required Methods§

Source

fn clone_into_pack(&mut self, pack: &mut impl PackFs) -> Result<()>

Clones the pack into a new pack.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§