gpu

source of std::dispose

1// Values that must be released by a call, not only freed.2//3// Disposable is a lang item (LANGUAGE_SPEC.md section 6.1a) at the4// canonical path std::dispose::Disposable. A type declaring it stands for5// something outside memory, such as a file or a lock: the compiler checks6// that each of its values is disposed or moved away on every path before7// its scope ends, and that none is copied (section 5.2). It never calls8// `dispose` itself; `defer value.dispose();` is the usual way to call it.910exp interface Disposable {11    fn dispose(self: &var);12}