pub struct DartTargetDepOverride {
pub cfg: String,
pub features: Vec<String>,
pub default_features: bool,
}Fields§
§cfg: StringCargo cfg(...) predicate (without the cfg(...) wrapper). Example:
all(target_os = "android", target_arch = "x86_64").
features: Vec<String>Features to enable on the core dependency for this target.
default_features: boolWhen false (default), emit default-features = false for this target.
When true, allow the core dep’s default features through.
Trait Implementations§
Source§impl Clone for DartTargetDepOverride
impl Clone for DartTargetDepOverride
Source§fn clone(&self) -> DartTargetDepOverride
fn clone(&self) -> DartTargetDepOverride
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 DartTargetDepOverride
impl Debug for DartTargetDepOverride
Source§impl<'de> Deserialize<'de> for DartTargetDepOverride
impl<'de> Deserialize<'de> for DartTargetDepOverride
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 DartTargetDepOverride
impl RefUnwindSafe for DartTargetDepOverride
impl Send for DartTargetDepOverride
impl Sync for DartTargetDepOverride
impl Unpin for DartTargetDepOverride
impl UnsafeUnpin for DartTargetDepOverride
impl UnwindSafe for DartTargetDepOverride
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