pub struct Args {
pub package: Option<String>,
pub bin: Option<String>,
pub lib: bool,
pub test: Option<String>,
pub example: Option<String>,
pub manifest_path: Option<String>,
pub cargo_args: Vec<String>,
pub hook_lib: PathBuf,
}Expand description
Cargo arguments for macro tracing (no clap dependency).
Fields§
§package: Option<String>§bin: Option<String>§lib: bool§test: Option<String>§example: Option<String>§manifest_path: Option<String>§cargo_args: Vec<String>§hook_lib: PathBufPath to the macra-hook shared library (e.g. libmacra_hook.so).
When non-empty, the library is injected via LD_PRELOAD / DYLD_INSERT_LIBRARIES.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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