pub struct JsExtension { /* private fields */ }
Trait Implementations§
Source§impl Clone for JsExtension
impl Clone for JsExtension
Source§fn clone(&self) -> JsExtension
fn clone(&self) -> JsExtension
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 moreSource§impl Debug for JsExtension
impl Debug for JsExtension
Source§impl Extension for JsExtension
impl Extension for JsExtension
fn name(&self) -> String
fn registries(&self) -> Vec<String>
Source§fn identify_local_dependencies(
&self,
working_directory: &PathBuf,
) -> Result<Vec<DependenciesSpec>>
fn identify_local_dependencies( &self, working_directory: &PathBuf, ) -> Result<Vec<DependenciesSpec>>
Identify local package dependencies.
Source§fn registries_package_metadata(
&self,
package_name: &str,
package_version: &Option<&str>,
) -> Result<Vec<RegistryPackageMetadata>>
fn registries_package_metadata( &self, package_name: &str, package_version: &Option<&str>, ) -> Result<Vec<RegistryPackageMetadata>>
Query package registries for package metadata.
Auto Trait Implementations§
impl Freeze for JsExtension
impl RefUnwindSafe for JsExtension
impl Send for JsExtension
impl Sync for JsExtension
impl Unpin for JsExtension
impl UnwindSafe for JsExtension
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