pub struct TargetScan {
pub name: String,
pub files: Vec<SourceFile>,
pub library: bool,
}Expand description
One resolved target.
Fields§
§name: StringThe target name, used as the item-path prefix.
files: Vec<SourceFile>The target’s files, its root file first, whose path tells two targets of one name apart.
library: boolWhether the target is a Rust library, whose public functions other crates may call.
Trait Implementations§
Source§impl Clone for TargetScan
impl Clone for TargetScan
Auto Trait Implementations§
impl !Send for TargetScan
impl !Sync for TargetScan
impl Freeze for TargetScan
impl RefUnwindSafe for TargetScan
impl Unpin for TargetScan
impl UnsafeUnpin for TargetScan
impl UnwindSafe for TargetScan
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