pub enum TargetPredicateShape {
CargoCfg,
NpmEnginesOsCpu,
BundlerPlatforms,
Pep508,
GoBuildTags,
None,
}Variants§
CargoCfg
target.'cfg(unix)'.dependencies — cargo.
NpmEnginesOsCpu
engines + os + cpu — npm.
BundlerPlatforms
platforms block — Bundler.
Pep508
PEP-508 environment markers — pip.
GoBuildTags
// +build linux,amd64 build tags — go.
None
None — format has no concept of conditional deps.
Trait Implementations§
Source§impl Clone for TargetPredicateShape
impl Clone for TargetPredicateShape
Source§fn clone(&self) -> TargetPredicateShape
fn clone(&self) -> TargetPredicateShape
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 moreimpl Copy for TargetPredicateShape
Source§impl Debug for TargetPredicateShape
impl Debug for TargetPredicateShape
Source§impl<'de> Deserialize<'de> for TargetPredicateShape
impl<'de> Deserialize<'de> for TargetPredicateShape
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
impl Eq for TargetPredicateShape
Source§impl PartialEq for TargetPredicateShape
impl PartialEq for TargetPredicateShape
Source§fn eq(&self, other: &TargetPredicateShape) -> bool
fn eq(&self, other: &TargetPredicateShape) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetPredicateShape
impl Serialize for TargetPredicateShape
impl StructuralPartialEq for TargetPredicateShape
Auto Trait Implementations§
impl Freeze for TargetPredicateShape
impl RefUnwindSafe for TargetPredicateShape
impl Send for TargetPredicateShape
impl Sync for TargetPredicateShape
impl Unpin for TargetPredicateShape
impl UnsafeUnpin for TargetPredicateShape
impl UnwindSafe for TargetPredicateShape
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.