rustype:从Rust编程语言输入safe OptionResult和Vector 源码
赤褐色 :crab: 从Rust编程语言中输入safe Option,Result和Vector。 安装 使用npm npm i @faramo.zayw/rustype 使用纱 yarn add @faramo.zayw/rustype 用法 Option import { Option } from "@faramo.zayw/rustype" ; interface User { id : number ; firstName : string ; lastName : string ; email ?: string ; phone ?: string ; age : number ; } const defaultUser : User = { ... } ; const fetchUser = ( userID : number ) : Option < User
下载地址
用户评论