I am trying to implement this kind of runtimeclass and was confused about how to write an out parameter from Rust.
namespace example
{
runtimeclass Simple
{
Simple();
void Repeat(UInt8 input, out IVectorView<UInt8> output);
}
}
From #3025, I suppose using OutRef will be best. However, the generated bindings doesn't use it, and I'm not sure how to use OutRef.write() in my implementation.
Suggestion
I am trying to implement this kind of runtimeclass and was confused about how to write an
out
parameter from Rust.From #3025, I suppose using
OutRef
will be best. However, the generated bindings doesn't use it, and I'm not sure how to useOutRef.write()
in my implementation.Any advice would be appreciated. Thank you.