pub struct SourceCargoAutomaticTarget {
pub kind: SourceCargoTargetKind,
pub certain: bool,
}Expand description
A conventional target category admitted by the manifest’s discovery policy.
Fields§
§kind: SourceCargoTargetKindCategory whose conventional source layout may supply roots.
certain: boolFalse when an inherited edition leaves the discovery default unproved.
Trait Implementations§
Source§impl Clone for SourceCargoAutomaticTarget
impl Clone for SourceCargoAutomaticTarget
Source§fn clone(&self) -> SourceCargoAutomaticTarget
fn clone(&self) -> SourceCargoAutomaticTarget
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 SourceCargoAutomaticTarget
impl Debug for SourceCargoAutomaticTarget
impl Eq for SourceCargoAutomaticTarget
Source§impl PartialEq for SourceCargoAutomaticTarget
impl PartialEq for SourceCargoAutomaticTarget
Source§fn eq(&self, other: &SourceCargoAutomaticTarget) -> bool
fn eq(&self, other: &SourceCargoAutomaticTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceCargoAutomaticTarget
Auto Trait Implementations§
impl Freeze for SourceCargoAutomaticTarget
impl RefUnwindSafe for SourceCargoAutomaticTarget
impl Send for SourceCargoAutomaticTarget
impl Sync for SourceCargoAutomaticTarget
impl Unpin for SourceCargoAutomaticTarget
impl UnsafeUnpin for SourceCargoAutomaticTarget
impl UnwindSafe for SourceCargoAutomaticTarget
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.