pub struct ScratchConfig {
pub platform: Option<String>,
pub compiler: Option<String>,
pub c_flags: Option<String>,
pub ctx_path: Option<PathBuf>,
pub build_ctx: Option<bool>,
}
Fields§
§platform: Option<String>
§compiler: Option<String>
§c_flags: Option<String>
§ctx_path: Option<PathBuf>
§build_ctx: Option<bool>
Trait Implementations§
source§impl Clone for ScratchConfig
impl Clone for ScratchConfig
source§fn clone(&self) -> ScratchConfig
fn clone(&self) -> ScratchConfig
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 Default for ScratchConfig
impl Default for ScratchConfig
source§fn default() -> ScratchConfig
fn default() -> ScratchConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScratchConfig
impl<'de> Deserialize<'de> for ScratchConfig
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 for ScratchConfig
impl PartialEq for ScratchConfig
source§impl Serialize for ScratchConfig
impl Serialize for ScratchConfig
impl Eq for ScratchConfig
impl StructuralPartialEq for ScratchConfig
Auto Trait Implementations§
impl Freeze for ScratchConfig
impl RefUnwindSafe for ScratchConfig
impl Send for ScratchConfig
impl Sync for ScratchConfig
impl Unpin for ScratchConfig
impl UnwindSafe for ScratchConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.