pub struct TransformManifestFunctions {}
Expand description
The default implementation of Transform
.
Trait Implementations§
source§impl Clone for TransformManifestFunctions
impl Clone for TransformManifestFunctions
source§fn clone(&self) -> TransformManifestFunctions
fn clone(&self) -> TransformManifestFunctions
Returns a copy 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 moresource§impl Default for TransformManifestFunctions
impl Default for TransformManifestFunctions
source§fn default() -> TransformManifestFunctions
fn default() -> TransformManifestFunctions
Returns the “default value” for a type. Read more
source§impl Transform for TransformManifestFunctions
impl Transform for TransformManifestFunctions
source§fn get_atoms_wapm_toml(
&self,
files: &BTreeMap<&Path, &Vec<u8>>
) -> Result<Vec<(String, PathBuf)>, Error>
fn get_atoms_wapm_toml( &self, files: &BTreeMap<&Path, &Vec<u8>> ) -> Result<Vec<(String, PathBuf)>, Error>
Given a file map, returns the file paths of the atoms in the FileMap
fn get_dependencies(&self, wapm_toml: &str) -> Vec<(String, String)>
fn get_package_annotations( &self, wapm_toml: &str ) -> Result<Option<Wapm>, Error>
fn get_fs_table(&self, wapm_toml: &str) -> Result<FileSystemMappings, Error>
fn get_modules(&self, wapm_toml: &str) -> Vec<(String, String, String)>
fn get_commands( &self, wapm_toml: &str, base_path: &Path, atom_kinds: &BTreeMap<String, String> ) -> Result<BTreeMap<String, WebcCommand>, Error>
fn get_bindings( &self, wapm_toml: &str, base_path: &Path, atom_kinds: &BTreeMap<String, String> ) -> Result<Vec<(String, String, Value)>, Error>
fn get_manifest_file_names(&self) -> Vec<PathBuf>
fn get_metadata_paths(&self, bindings: &[Value]) -> Vec<PathBuf>
fn get_wapm_manifest_file_name(&self) -> PathBuf
impl Copy for TransformManifestFunctions
Auto Trait Implementations§
impl Freeze for TransformManifestFunctions
impl RefUnwindSafe for TransformManifestFunctions
impl Send for TransformManifestFunctions
impl Sync for TransformManifestFunctions
impl Unpin for TransformManifestFunctions
impl UnwindSafe for TransformManifestFunctions
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