Struct wash_lib::parser::RustConfig
source · pub struct RustConfig {
pub cargo_path: Option<PathBuf>,
pub target_path: Option<PathBuf>,
}Fields§
§cargo_path: Option<PathBuf>The path to the cargo binary. Optional, will default to search the user’s PATH for cargo if not specified.
target_path: Option<PathBuf>Path to cargo/rust’s target directory. Optional, defaults to ./target.
Trait Implementations§
source§impl Clone for RustConfig
impl Clone for RustConfig
source§fn clone(&self) -> RustConfig
fn clone(&self) -> RustConfig
Returns a copy 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 RustConfig
impl Debug for RustConfig
source§impl Default for RustConfig
impl Default for RustConfig
source§fn default() -> RustConfig
fn default() -> RustConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RustConfig
impl<'de> Deserialize<'de> for RustConfig
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
source§impl PartialEq<RustConfig> for RustConfig
impl PartialEq<RustConfig> for RustConfig
source§fn eq(&self, other: &RustConfig) -> bool
fn eq(&self, other: &RustConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RustConfig
impl StructuralEq for RustConfig
impl StructuralPartialEq for RustConfig
Auto Trait Implementations§
impl RefUnwindSafe for RustConfig
impl Send for RustConfig
impl Sync for RustConfig
impl Unpin for RustConfig
impl UnwindSafe for RustConfig
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.