OCaml record field.
type ('perm, 'record, 'field) t_with_perm = | Field of ('perm, 'record, 'field) For_generated_code.t |
'record is the type of the record. 'field is the type of the
values stored in the record field with name name. 'perm is a way
of restricting the operations that can be used.
val name : (_, _, _) t_with_perm ‑> stringval get : (_, 'r, 'a) t_with_perm ‑> 'r ‑> 'aval fset : ([> `Set_and_create ], 'r, 'a) t_with_perm ‑> 'r ‑> 'a ‑> 'rval setter : ([> `Set_and_create ], 'r, 'a) t_with_perm ‑> ('r ‑> 'a ‑> unit) option