Struct crate2nix::render::CargoTomlForWorkspace
source · pub struct CargoTomlForWorkspace {
pub info: GenerateInfo,
pub workspace_member_dir: String,
pub members: Vec<String>,
}
Expand description
Context argument for the CARGO_TOML_FOR_WORKSPACE
template.
This is used to render a Cargo.toml
for a workspace which
is build via nix.
Fields§
§info: GenerateInfo
The generate info for this invocation.
workspace_member_dir: String
The symlink to the workspace member dir derivation output.
members: Vec<String>
The names of the members of this workspace - which are equal to the names of the subdirectory symlinks.
Trait Implementations§
source§impl Debug for CargoTomlForWorkspace
impl Debug for CargoTomlForWorkspace
Auto Trait Implementations§
impl Freeze for CargoTomlForWorkspace
impl RefUnwindSafe for CargoTomlForWorkspace
impl Send for CargoTomlForWorkspace
impl Sync for CargoTomlForWorkspace
impl Unpin for CargoTomlForWorkspace
impl UnwindSafe for CargoTomlForWorkspace
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