pub struct GoTargetEdges {
pub imports: Vec<String>,
pub import_map: BTreeMap<String, String>,
}Expand description
Per-node import edges for one target tuple — the per-(tuple)-varying
data (Go’s build constraints select a different go_files/imports
per tuple). Keyed by the same node key as BuildSpec.packages.
Fields§
§imports: Vec<String>§import_map: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for GoTargetEdges
impl Clone for GoTargetEdges
Source§fn clone(&self) -> GoTargetEdges
fn clone(&self) -> GoTargetEdges
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 GoTargetEdges
impl Debug for GoTargetEdges
Source§impl Default for GoTargetEdges
impl Default for GoTargetEdges
Source§fn default() -> GoTargetEdges
fn default() -> GoTargetEdges
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoTargetEdges
impl<'de> Deserialize<'de> for GoTargetEdges
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 GoTargetEdges
Source§impl PartialEq for GoTargetEdges
impl PartialEq for GoTargetEdges
Source§impl Serialize for GoTargetEdges
impl Serialize for GoTargetEdges
impl StructuralPartialEq for GoTargetEdges
Auto Trait Implementations§
impl Freeze for GoTargetEdges
impl RefUnwindSafe for GoTargetEdges
impl Send for GoTargetEdges
impl Sync for GoTargetEdges
impl Unpin for GoTargetEdges
impl UnsafeUnpin for GoTargetEdges
impl UnwindSafe for GoTargetEdges
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.