pub enum TargetPredicate {
Triple(String),
Capability(HostCapability),
}Variants§
Triple(String)
Capability(HostCapability)
Trait Implementations§
Source§impl Clone for TargetPredicate
impl Clone for TargetPredicate
Source§fn clone(&self) -> TargetPredicate
fn clone(&self) -> TargetPredicate
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 TargetPredicate
impl Debug for TargetPredicate
Source§impl<'de> Deserialize<'de> for TargetPredicate
impl<'de> Deserialize<'de> for TargetPredicate
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 Display for TargetPredicate
impl Display for TargetPredicate
impl Eq for TargetPredicate
Source§impl FromStr for TargetPredicate
impl FromStr for TargetPredicate
Source§impl Hash for TargetPredicate
impl Hash for TargetPredicate
Source§impl Ord for TargetPredicate
impl Ord for TargetPredicate
Source§fn cmp(&self, other: &TargetPredicate) -> Ordering
fn cmp(&self, other: &TargetPredicate) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TargetPredicate
impl PartialEq for TargetPredicate
Source§impl PartialOrd for TargetPredicate
impl PartialOrd for TargetPredicate
Source§impl Serialize for TargetPredicate
impl Serialize for TargetPredicate
impl StructuralPartialEq for TargetPredicate
Auto Trait Implementations§
impl Freeze for TargetPredicate
impl RefUnwindSafe for TargetPredicate
impl Send for TargetPredicate
impl Sync for TargetPredicate
impl Unpin for TargetPredicate
impl UnsafeUnpin for TargetPredicate
impl UnwindSafe for TargetPredicate
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.