Skip to content

Some rust codes related to the "Rust Simple Code" document. 此Repo是微信公众号的“Rust简易笔记”中相关的代码示例。

License

Notifications You must be signed in to change notification settings

PeiMu/RustFeatures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Features

Some rust codes related to my blog - Rust Easy Notes

To introduce some features of Rust language.

此Repo是微信公众号“沛沛聊AI”之《Rust简易笔记》系列中相关的代码示例。

编译运行方式

  • 可以选择和我一样用Clion配置(具体配置方式在公众号文章《Rust简易笔记(1)—— 编译运行及语言基本概念》中有讲);
  • 也可以通过命令行编译运行(公众号里同样在这篇文章里有讲哦)。

目前包括

  1. 基本概念
  2. ownership所有权
  3. functions函数
  4. structs结构体
  5. enums枚举

未完待续……

About

Some rust codes related to the "Rust Simple Code" document. 此Repo是微信公众号的“Rust简易笔记”中相关的代码示例。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages