pub struct SourceCargoTargets {
pub edition: Option<u16>,
pub targets: Vec<SourceCargoTarget>,
pub automatic: Vec<SourceCargoAutomaticTarget>,
pub complete: bool,
}Expand description
Target configuration captured at the existing Cargo TOML parse boundary.
Fields§
§edition: Option<u16>Explicit package edition, or the Cargo 2015 default; inherited/unknown stays absent.
targets: Vec<SourceCargoTarget>Explicit or manifest-default source root candidates.
automatic: Vec<SourceCargoAutomaticTarget>Categories whose conventional directory discovery is enabled.
complete: boolFalse when malformed or excessive target settings prevent exact ownership.
Trait Implementations§
Source§impl Clone for SourceCargoTargets
impl Clone for SourceCargoTargets
Source§fn clone(&self) -> SourceCargoTargets
fn clone(&self) -> SourceCargoTargets
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 SourceCargoTargets
impl Debug for SourceCargoTargets
Source§impl Default for SourceCargoTargets
impl Default for SourceCargoTargets
Source§fn default() -> SourceCargoTargets
fn default() -> SourceCargoTargets
Returns the “default value” for a type. Read more
impl Eq for SourceCargoTargets
Source§impl PartialEq for SourceCargoTargets
impl PartialEq for SourceCargoTargets
Source§fn eq(&self, other: &SourceCargoTargets) -> bool
fn eq(&self, other: &SourceCargoTargets) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceCargoTargets
Auto Trait Implementations§
impl Freeze for SourceCargoTargets
impl RefUnwindSafe for SourceCargoTargets
impl Send for SourceCargoTargets
impl Sync for SourceCargoTargets
impl Unpin for SourceCargoTargets
impl UnsafeUnpin for SourceCargoTargets
impl UnwindSafe for SourceCargoTargets
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.