pub trait InkFeatureObject: Sized + 'static {
// Required method
fn as_ink_feature(self: Handle<Self>) -> AnyInkFeature;
}Expand description
Mints the erased AnyInkFeature of a leaf.
Required Methods§
Sourcefn as_ink_feature(self: Handle<Self>) -> AnyInkFeature
fn as_ink_feature(self: Handle<Self>) -> AnyInkFeature
This feature as the erased AnyInkFeature — what to pass where a Dart API takes an
InkFeature.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".