はじめに
この実験では、Rust プログラミング言語で変数バインディングを先に宣言し、後で初期化する例を見ます。
注: 実験でファイル名が指定されていない場合、好きなファイル名を使用できます。たとえば、
main.rs
を使用して、rustc main.rs &&./main
でコンパイルして実行できます。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
rust(("Rust")) -.-> rust/BasicConceptsGroup(["Basic Concepts"])
rust(("Rust")) -.-> rust/FunctionsandClosuresGroup(["Functions and Closures"])
rust/BasicConceptsGroup -.-> rust/variable_declarations("Variable Declarations")
rust/FunctionsandClosuresGroup -.-> rust/function_syntax("Function Syntax")
rust/FunctionsandClosuresGroup -.-> rust/expressions_statements("Expressions and Statements")
subgraph Lab Skills
rust/variable_declarations -.-> lab-99293{{"Rust の変数バインディング宣言"}}
rust/function_syntax -.-> lab-99293{{"Rust の変数バインディング宣言"}}
rust/expressions_statements -.-> lab-99293{{"Rust の変数バインディング宣言"}}
end