Trait enso_prelude::AsOwned[][src]

pub trait AsOwned {
    type Owned;
}
Expand description

The owned version of a type. It would be super cool if Rust would allow us to automatically implement it for every type: Owned<&T> = T and Owned<T> = T if T was not a reference. Unfortunately, we need to implement it by hand for every type now.

Associated Types

Implementations on Foreign Types

Implementors