Code Monkey home page Code Monkey logo

test_rust's Introduction

test_rust

https://doc.rust-jp.rs/book-ja/ch01-03-hello-cargo.html

cargo new hello_cargo

cargo newを使ってプロジェクトを作成できる cargo buildを使ってプロジェクトをビルドできる cargo runを使うとプロジェクトのビルドと実行を1ステップで行える cargo checkを使うとバイナリを生成せずにプロジェクトをビルドして、エラーがないか確認できる Cargoは、ビルドの成果物をコードと同じディレクトリに保存するのではなく、target/debugディレクトリに格納する

https://qiita.com/notakaos/items/9f3ee8a3f3a0caf39f7b

cargo install cargo-edit

cargo install cargo-watch

rustup component add rustfmt

rustup component add clippy

rustup component add rls rust-src rust-analysis

vscode extension

rust-analyzer

debug

CodeLLDB

https://doc.rust-jp.rs/book-ja/ch04-01-what-is-ownership.html

Rustの中心的な機能は、所有権です。

所有権規則

  • Rustの各値は、所有者と呼ばれる変数と対応している。
  • いかなる時も所有者は一つである。
  • 所有者がスコープから外れたら、値は破棄される。

https://qiita.com/uasi/items/3b08a5ba81fede837531

test_rust's People

Contributors

infinith4 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.