Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Newtype?

Definition 8.11 University Computer Science — Year 2 · Bab 8 — Traits and Generics

A newtype is a struct with a single field, struct Metres(f64);, that gives an existing type a new name and a new set of operations: those implemented for it, and no others.

Baca dalam konteks →