Trait vm_resource::IntoResource
source · pub trait IntoResource<K: ResourceKind> {
// Required method
fn into_resource(self) -> Resource<K>;
}
Expand description
Trait for converting resources into opaque Resource
s.
Required Methods§
sourcefn into_resource(self) -> Resource<K>
fn into_resource(self) -> Resource<K>
Converts self
into a Resource
.