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 Resources.

Required Methods§

source

fn into_resource(self) -> Resource<K>

Converts self into a Resource.

Implementors§