Struct cargo_shim::CargoTarget
source · pub struct CargoTarget {
pub name: String,
pub kind: TargetKind,
pub source_directory: PathBuf,
}
Fields
name: String
kind: TargetKind
source_directory: PathBuf
Trait Implementations
sourceimpl Clone for CargoTarget
impl Clone for CargoTarget
sourcefn clone(&self) -> CargoTarget
fn clone(&self) -> CargoTarget
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CargoTarget
impl Debug for CargoTarget
sourceimpl PartialEq<CargoTarget> for CargoTarget
impl PartialEq<CargoTarget> for CargoTarget
sourcefn eq(&self, other: &CargoTarget) -> bool
fn eq(&self, other: &CargoTarget) -> bool
impl StructuralPartialEq for CargoTarget
Auto Trait Implementations
impl RefUnwindSafe for CargoTarget
impl Send for CargoTarget
impl Sync for CargoTarget
impl Unpin for CargoTarget
impl UnwindSafe for CargoTarget
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more