pub struct FfiTargetDepOverride {
pub cfg: String,
pub features: Vec<String>,
}Expand description
A per-target replacement for the core-crate feature set emitted into the
generated FFI Cargo.toml. See FfiConfig::target_dep_overrides.
Fields§
§cfg: StringCargo cfg expression, without the surrounding cfg(...).
Example: all(target_os = "android", target_arch = "x86_64").
features: Vec<String>Replacement feature set used for the core-crate dependency when this target matches. An empty list means “no features”.
Trait Implementations§
Source§impl Clone for FfiTargetDepOverride
impl Clone for FfiTargetDepOverride
Source§fn clone(&self) -> FfiTargetDepOverride
fn clone(&self) -> FfiTargetDepOverride
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 FfiTargetDepOverride
impl Debug for FfiTargetDepOverride
Source§impl<'de> Deserialize<'de> for FfiTargetDepOverride
impl<'de> Deserialize<'de> for FfiTargetDepOverride
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 Freeze for FfiTargetDepOverride
impl RefUnwindSafe for FfiTargetDepOverride
impl Send for FfiTargetDepOverride
impl Sync for FfiTargetDepOverride
impl Unpin for FfiTargetDepOverride
impl UnsafeUnpin for FfiTargetDepOverride
impl UnwindSafe for FfiTargetDepOverride
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