pub struct NodejsLanguageConfig {
pub default_node_version: Option<String>,
pub prefer_system_node: bool,
pub package_manager_preference: PackageManagerPreference,
pub enable_workspaces: bool,
pub cache_node_modules: bool,
pub max_cache_age: Duration,
}Fields§
§default_node_version: Option<String>§prefer_system_node: bool§package_manager_preference: PackageManagerPreference§enable_workspaces: bool§cache_node_modules: bool§max_cache_age: DurationTrait Implementations§
Source§impl Clone for NodejsLanguageConfig
impl Clone for NodejsLanguageConfig
Source§fn clone(&self) -> NodejsLanguageConfig
fn clone(&self) -> NodejsLanguageConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodejsLanguageConfig
impl Debug for NodejsLanguageConfig
Auto Trait Implementations§
impl Freeze for NodejsLanguageConfig
impl RefUnwindSafe for NodejsLanguageConfig
impl Send for NodejsLanguageConfig
impl Sync for NodejsLanguageConfig
impl Unpin for NodejsLanguageConfig
impl UnsafeUnpin for NodejsLanguageConfig
impl UnwindSafe for NodejsLanguageConfig
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