v0.4.0

Copyable interfacev0.1.0

Source
A type whose values = may copy: the bound generic code writes before it copies a value of its type parameter.
pub interface Copyable {}

Numbers, bool, characters, raw pointers, views, function values, and structures, tuples, variants and fixed arrays of them are copyable. A type with a destructor, or one holding such a value, owns resources and is move-only, and so is a type declared #NoCopy. A copy is always the value's bytes and never runs user code.