[−][src]Struct tows::node_module::NodeModule
A NodeJS module
Fields
type: NodeModuleType
name: String
version: String
path: PathBuf
selected: Cell<bool>
Methods
impl NodeModule
[src]
pub fn new_production(name: String, version: String, path: PathBuf) -> Self
[src]
pub fn new_development(name: String, version: String, path: PathBuf) -> Self
[src]
pub fn new_peer(name: String, version: String, path: PathBuf) -> Self
[src]
Trait Implementations
impl Debug for NodeModule
[src]
impl Default for NodeModule
[src]
fn default() -> NodeModule
[src]
impl Eq for NodeModule
[src]
impl Ord for NodeModule
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<NodeModule> for NodeModule
[src]
fn eq(&self, other: &NodeModule) -> bool
[src]
fn ne(&self, other: &NodeModule) -> bool
[src]
impl PartialOrd<NodeModule> for NodeModule
[src]
fn partial_cmp(&self, other: &NodeModule) -> Option<Ordering>
[src]
fn lt(&self, other: &NodeModule) -> bool
[src]
fn le(&self, other: &NodeModule) -> bool
[src]
fn gt(&self, other: &NodeModule) -> bool
[src]
fn ge(&self, other: &NodeModule) -> bool
[src]
impl StructuralEq for NodeModule
[src]
impl StructuralPartialEq for NodeModule
[src]
Auto Trait Implementations
impl !RefUnwindSafe for NodeModule
impl Send for NodeModule
impl !Sync for NodeModule
impl Unpin for NodeModule
impl UnwindSafe for NodeModule
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,