pub struct NodePackage { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Debug for NodePackage
impl Debug for NodePackage
Source§impl Package for NodePackage
impl Package for NodePackage
fn name(&self) -> &str
fn version(&self) -> &str
fn path(&self) -> &Path
fn relative_path(&self) -> &Path
fn update_version<'life0, 'async_trait>(
&'life0 self,
update_type: UpdateType,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn language(&self) -> Language
fn set_changed(&mut self, changed: bool)
fn is_changed(&self) -> bool
fn check_changed(&mut self, path: &Path) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for NodePackage
impl RefUnwindSafe for NodePackage
impl Send for NodePackage
impl Sync for NodePackage
impl Unpin for NodePackage
impl UnwindSafe for NodePackage
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