pub struct Arguments {
pub crate_name: String,
pub build_type: BuildType,
pub target_dir: PathBuf,
pub manifest_path: PathBuf,
pub workspace_path: Option<PathBuf>,
pub workspace_member_package_id: Option<String>,
}Expand description
Arguments passed from cargo-ligen.
Fields§
§crate_name: StringThe name of the crate
build_type: BuildTypeThe build type.
target_dir: PathBufThe build target directory.
manifest_path: PathBufThe Cargo.toml manifest path passed with --target-dir.
workspace_path: Option<PathBuf>The Cargo.toml workspace manifest passed with --manifest-path.
workspace_member_package_id: Option<String>Workspace member to build passed with --package or -p.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Arguments
impl<'de> Deserialize<'de> for Arguments
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
Auto Trait Implementations§
impl Freeze for Arguments
impl RefUnwindSafe for Arguments
impl Send for Arguments
impl Sync for Arguments
impl Unpin for Arguments
impl UnwindSafe for Arguments
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