cargo::util::toml

Function field_inherit_with

Source
fn field_inherit_with<'a, T>(
    field: InheritableField<T>,
    label: &str,
    get_ws_inheritable: impl FnOnce() -> CargoResult<T>,
) -> CargoResult<T>