pub struct RustPackage {
pub root: String,
pub name: String,
pub autotests: bool,
pub tests: Vec<(String, String)>,
pub lib: Option<String>,
pub bins: Vec<(String, String)>,
}Expand description
One Cargo package, as its manifest says.
Fields§
§root: StringThe package’s directory, workspace-relative ("" for the root).
name: String[package] name.
autotests: boolautotests (default true).
tests: Vec<(String, String)>[[test]] targets: name and path (package-relative).
lib: Option<String>[lib] path, when set.
bins: Vec<(String, String)>[[bin]] targets with a path: name and path (package-relative).
Trait Implementations§
Source§impl Clone for RustPackage
impl Clone for RustPackage
Source§impl Debug for RustPackage
impl Debug for RustPackage
Source§impl Default for RustPackage
impl Default for RustPackage
impl Eq for RustPackage
Source§impl PartialEq for RustPackage
impl PartialEq for RustPackage
impl StructuralPartialEq for RustPackage
Auto Trait Implementations§
impl Freeze for RustPackage
impl RefUnwindSafe for RustPackage
impl Send for RustPackage
impl Sync for RustPackage
impl Unpin for RustPackage
impl UnsafeUnpin for RustPackage
impl UnwindSafe for RustPackage
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