withCargoExample
Method
interface RustAppResource { // ... omitted for brevity withCargoExample(exampleName: string): RustAppResource;}Signature
method
withCargoExample builderConfigures an example target to run instead of a binary.
withCargoExample(exampleName: string): RustAppResourceParameters
exampleName stringThe example name, as declared by a file or directory under `examples/`.Returns
RustAppResource Applies to
This method applies to the following types: