pub struct ManifestTargetSelector {
pub package: Option<String>,
pub name: String,
}Expand description
Reference to a manifest target - one of the [target.<name>]
declarations in a package’s cabin.toml. May be qualified
package:target or unqualified target. Resolution against a
PackageGraph happens in the planner.
This is the manifest-target selector. It has nothing to do
with a platform / toolchain target (e.g. an
x86_64-unknown-linux-gnu triple); Cabin does not yet model
the latter.
Fields§
§package: Option<String>§name: StringImplementations§
Trait Implementations§
Source§impl Clone for ManifestTargetSelector
impl Clone for ManifestTargetSelector
Source§fn clone(&self) -> ManifestTargetSelector
fn clone(&self) -> ManifestTargetSelector
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 ManifestTargetSelector
impl Debug for ManifestTargetSelector
impl Eq for ManifestTargetSelector
Source§impl PartialEq for ManifestTargetSelector
impl PartialEq for ManifestTargetSelector
Source§fn eq(&self, other: &ManifestTargetSelector) -> bool
fn eq(&self, other: &ManifestTargetSelector) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ManifestTargetSelector
Auto Trait Implementations§
impl Freeze for ManifestTargetSelector
impl RefUnwindSafe for ManifestTargetSelector
impl Send for ManifestTargetSelector
impl Sync for ManifestTargetSelector
impl Unpin for ManifestTargetSelector
impl UnsafeUnpin for ManifestTargetSelector
impl UnwindSafe for ManifestTargetSelector
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> 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.