tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

9 lignes · 410 octetsBrut · Historique
1/// Foreign values (ADR 0005).
2
3/// A value owned by foreign code: a pointer and the finalizer that
4/// releases it when the last reference is dropped. Bindings create them in
5/// C (`tl_resource_new`); `t` only tells resources of different kinds
6/// apart. A resource can be sent to another actor only if `t` is marked
7/// `@thread_safe` (and the C side creates it thread-safe).
8@builtin
9pub type Resource<t>