検索
Results of 11 - 20 of about 23 for static (0.044 sec.)
- カスタム型 - Rust By Example 日本語版 7708
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
を定義する enum : 列挙型を定義する const 、あるいは static というキーワードによって定数を定義することもできま...
- https://man.plustar.jp/rust/example/custom_types.html - [similar]
- Domain Specific Languages (ドメイン特化言語、DSLs) - Rust By Example 日本語版 7708
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
2) * (3 / 4) = 0 これはとても単純な例ですが、 lazy_static や clap のように、もっと複雑なインターフェースも開...
- https://man.plustar.jp/rust/example/macros/dsl.html - [similar]
- create - Rust By Example 日本語版 7708
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ルが存在している場合、破棄して新しい物を作成します。 static LOREM_IPSUM: &str = "Lorem ipsum dolor sit amet, c...
- https://man.plustar.jp/rust/example/std_misc/file/create.html - [similar]
- メモリ解放 - Rust By Example 日本語版 7708
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
分かるようにしています。 struct Droppable { name: &'static str, } // This trivial implementation of `drop` ad...
- https://man.plustar.jp/rust/example/trait/drop.html - [similar]
- 変数束縛 - Rust By Example 日本語版 7708
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
Ayu Rust By Example 日本語版 変数束縛 Rustは静的( static )な型付けゆえに型安全です。変数束縛は宣言時に型を指...
- https://man.plustar.jp/rust/example/variable_bindings.html - [similar]
- エラー型を定義する - Rust By Example 日本語版 7641
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
{ fn source(&self) -> Option<&(dyn error::Error + 'static)> { // Generic error, underlying cause isn't track...
- https://man.plustar.jp/rust/example/error/multiple_error_types/define_error_type... - [similar]
- エラーをラップする - Rust By Example 日本語版 7641
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
{ fn source(&self) -> Option<&(dyn error::Error + 'static)> { match *self { DoubleError::EmptyVec => None, /...
- https://man.plustar.jp/rust/example/error/multiple_error_types/wrap_error.html - [similar]
- フォーマット - Rust By Example 日本語版 7641
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
:{self, Formatter, Display}; struct City { name: &'static str, // Latitude // 緯度 lat: f32, // Longitude //...
- https://man.plustar.jp/rust/example/hello/print/fmt.html - [similar]
- 関数 - Rust By Example 日本語版 7641
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
返り値となる参照はすべて引数と同じライフタイムか、 static ライフタイムを持たなくてはならない 加えて、引数のな...
- https://man.plustar.jp/rust/example/scope/lifetime/fn.html - [similar]
- 文字列 - Rust By Example 日本語版 7641
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ory上に割り当てられた文字列への参照 let pangram: &'static str = "the quick brown fox jumps over the lazy dog...
- https://man.plustar.jp/rust/example/std/str.html - [similar]