Skip to main content

implementation

Macro implementation 

Source
macro_rules! implementation {
    ($rev:expr) => { ... };
}
Expand description

The calling crate’s Implementation at score_revision, CPU backend, with the build id from the ZENMETRICS_BUILD_ID environment variable when it was set at compile time.

let imp = zenpsy_api::implementation!(3);
assert_eq!(imp.crate_name(), "zenpsy-api");
assert_eq!(imp.score_revision(), 3);