pub trait ErasedLayer:
Copy
+ PartialEq
+ Debug
+ 'static {
// Required method
fn as_layer(self) -> AnyLayer;
}Expand description
A layer handle of any concreteness — AnyLayer, AnyContainerLayer, AnyOffsetLayer
or a typed Handle<L> — for what a LayerHandle can hold. Dart’s T extends Layer.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<T: Layer> ErasedLayer for Handle<T>
Dart’s implicit upcast of a concrete layer to Layer: the type-erased handle, through the
table built from the type’s impl Layer.
impl<T: Layer> ErasedLayer for Handle<T>
Dart’s implicit upcast of a concrete layer to Layer: the type-erased handle, through the
table built from the type’s impl Layer.