RustAppResource.WithCargoExample
Method
type RustAppResource interface { // ... 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 The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: