RustPrimer
  • Introduction
  • 初识Rust
  • 安装Rust
    • Linux
    • Mac
    • Windows
    • 版本管理工具: rustup
  • 编辑器
    • 前期准备
    • vim
    • emacs
    • vscode
    • atom
    • sublime
    • visual studio
    • spacemacs
  • Rust快速入门
    • Rust旅程
    • 变量绑定与原生类型
    • 数组、动态数组和字符串
    • 结构体与枚举
    • 控制流
    • 函数与方法
    • 特性
    • 注释与文档
    • 输入输出流
  • Cargo项目管理器
  • 基本程序结构
    • 注释
    • 条件
    • 循环
  • 类型、运算符和字符串
    • 基础类型
    • 复合类型
    • 字符串类
    • 基础运算符和字符串格式化
  • 函数
    • 函数参数
    • 函数返回值
    • 语句和表达式
    • 高阶函数
  • 模式匹配
    • match关键字
    • 模式 pattern
  • 特征 Trait
    • trait关键字
    • trait对象
  • 泛型
  • 可变性、所有权、租借和生命期
    • 所有权
    • 引用和借用
    • 生命周期
  • 闭包
    • 闭包的语法
    • 闭包的实现
    • 闭包作为参数和返回值
  • 集合类型 Collections
    • 动态数组 Vec
    • 哈希表 HashMap
  • 迭代器
    • 迭代器、适配器、消费者
  • 模块和包系统、Prelude
    • 模块 module 和包 crate
    • Prelude
  • Option、Result与错误处理
  • 输入与输出
  • 宏系统
  • 堆、栈与Box
  • 几种智能指针
    • Rc, Arc
    • Mutex, RwLock
    • Cell, RefCell
  • 类型系统中的几个常见 Trait
    • Into/From 及其在 String 和 &str 互转上的应用
    • AsRef, AsMut
    • Borrow, BorrowMut, ToOwned
    • Deref 与 Deref coercions
    • Cow 及其在 String 和 &str 上的应用
  • Send 和 Sync
  • 并发,并行,多线程编程
    • 线程
    • 消息传递
    • 共享内存
    • 同步
    • 并行
  • Unsafe、原始指针
    • Unsafe
    • 原始指针
  • FFI
    • rust调用ffi函数
    • 将rust编译成库
  • 运算符重载
  • 属性和编译器参数
    • 属性
    • 编译器参数
  • Cargo参数配置
  • 测试与评测
    • 测试 (testing)
    • 评测 (benchmark)
  • 代码风格
  • Any与反射
  • 安全(safe)
  • 常用数据结构实现
    • 栈结构
    • 队列
    • 二叉树
    • 优先队列
    • 链表
    • 图结构
  • 标准库介绍
    • 系统命令:调用grep
    • 目录操作:简单grep
    • 网络模块:W回音
  • 实战篇
    • 实战:Json处理
    • 实战:Web 应用开发入门
    • 实战:使用Postgresql数据库
  • 附录-术语表
Powered by GitBook
On this page

Was this helpful?

附录-术语表

  • ADT(Algebraic Data Type:代数数据类型):

  • ARC(Atomic Reference Counting:原子引用计数):

  • associated function(关联函数):

  • associated type(关联类型): Trait 里面可以有关联类型

  • AST(Abstract Syntax Tree:抽象语法树):

  • benchmark(基准测试):

  • bitwise copy:

  • borrow(借用):

  • bounds(约束):

  • box:

  • byte string():

  • cargo:

  • cast:

  • channel:

  • coercion:

  • constructor(构造器):

  • consumer:

  • copy:

  • crate:

  • dangling pointer:

  • deref(解引用):

  • derive:

  • designator(指示符):

  • destructor():

  • destructure(析构):

  • diverging function(发散函数):

  • drop:

  • DST(Dynamically Sized Type):

  • dynamic dispatch(动态分发):

  • enum():

  • feature gate(特性开关): nightly 版本中有特性开关可以启用一些实验性质的特性

  • FFI(Foreign Function Interface:外部函数接口):

  • guard:

  • hygiene:

  • inline function(内联函数):

  • item:

  • iterator(迭代器):

  • iterator adaptor(迭代器适配器):

  • lifetime(生命周期):

  • lifetime elision:

  • literal string():

  • macro by example:

  • memberwise copy:

  • module(模块)

  • move:

  • option:

  • ownership(所有权):

  • panic(崩溃):

  • phantom type:

  • primitive type(基本类型): 整型、浮点、布尔等基本类型

  • procedural macro:

  • RAII():

  • raw string:

  • raw pointer:

  • RC(Reference Counting:引用计数)

  • result:

  • shadowing:

  • static dispatch(静态分发):

  • slice(切片): 某种数据类型的视图,例如 string, vector

  • statement(): 与 expression 相区别

  • trait:

  • trait object:

  • tuple(元组):

  • UFCS(Universal Function Call Syntax)

  • unit():

  • unwind:

  • unwrap():

  • wrap:

Previous实战:使用Postgresql数据库

Last updated 5 years ago

Was this helpful?