Automatic arbitrary Rust type
📄️ Overview
This feature, sometimes called RustAutoOpaque throughout the documentation,
📄️ Using underlying data
You might wonder, since the Dart side is just a "pointer",
📄️ Override opaqueness
By default, flutterrustbridge tries to infer whether a type is opaque or not automatically.
📄️ Properties (Accessors)
The pub fields of an opaque struct will be automatically translated,
📄️ Opaque inside translatable
There is no need to memorize anything here (or anything in doc) -
📄️ Ownership
As expected, the MyNonEncodableType, &MyNonEncodableType, &mut MyNonEncodableType
📄️ Dispose
Every such RustAutoOpaque object has a dispose() method,
📄️ RustAutoOpaque struct
Sometimes you may want to directly work with the RustAutoOpaque struct.