pub struct GoBuildOutput {
pub path: String,
pub option_index: usize,
}Expand description
The one project-relative file promised by a supported go build -o.
Fields§
§path: StringLiteral path, relative to the invocation directory.
option_index: usizeIndex of the -o option in the normalized argv, including go build.
The executor uses this to replace only the actual output option, never
an opaque argument value that happens to resemble a flag.
Trait Implementations§
Source§impl Clone for GoBuildOutput
impl Clone for GoBuildOutput
Source§impl Debug for GoBuildOutput
impl Debug for GoBuildOutput
impl Eq for GoBuildOutput
Source§impl PartialEq for GoBuildOutput
impl PartialEq for GoBuildOutput
impl StructuralPartialEq for GoBuildOutput
Auto Trait Implementations§
impl Freeze for GoBuildOutput
impl RefUnwindSafe for GoBuildOutput
impl Send for GoBuildOutput
impl Sync for GoBuildOutput
impl Unpin for GoBuildOutput
impl UnsafeUnpin for GoBuildOutput
impl UnwindSafe for GoBuildOutput
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.