RustAppResource.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 Defined on
This method is defined on the following type: