pub struct ToolSettings {
pub scope: ToolSettingsScope,
pub program: PathBuf,
pub search_dirs: Vec<PathBuf>,
pub npm_cli: Option<PathBuf>,
pub prefix: Option<PathBuf>,
}Fields§
§scope: ToolSettingsScope§program: PathBuf§search_dirs: Vec<PathBuf>§npm_cli: Option<PathBuf>§prefix: Option<PathBuf>Trait Implementations§
Source§impl Clone for ToolSettings
impl Clone for ToolSettings
Source§impl<'de> Deserialize<'de> for ToolSettings
impl<'de> Deserialize<'de> for ToolSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for ToolSettings
impl Freeze for ToolSettings
impl Move for ToolSettings
impl RefUnwindSafe for ToolSettings
impl Send for ToolSettings
impl Sync for ToolSettings
impl Unpin for ToolSettings
impl UnsafeUnpin for ToolSettings
impl UnwindSafe for ToolSettings
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