検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 193 for use (0.046 sec.)
チャネル - Rust By Example 日本語版 6388
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連 ... プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11 ... 報の一方向への流れを作り出すことを可能にしています。 use std::sync::mpsc::{Sender, Receiver}; use std::sync ... ::mpsc; use std::thread; static NTHREADS: i32 = 3; fn main() { ...
https://man.plustar.jp/rust/example/std_misc/channels.html - [similar]
パイプ - Rust By Example 日本語版 6388
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連 ... プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11 ... を介して表面化のプロセスとのやり取りを仲介します。 use std::error::Error; use std::io::prelude::*; use st ... Ok(_) => println!("sent pangram to wc"), } // Because `stdin` does not live after the above calls, it is ...
https://man.plustar.jp/rust/example/std_misc/process/pipe.html - [similar]
if let - Rust By Example 日本語版 6182
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連 ... プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11 ... 方になってしまう場合があります。例えば... #![allow(unused)] fn main() { // Make `optional` of type `Option< ... つ増えてしまっている。 }, _ => {}, // ^ Required because `match` is exhaustive. Doesn't it seem // like was ...
https://man.plustar.jp/rust/example/flow_control/if_let.html - [similar]
Raw identifiers - Rust By Example 日本語版 6073
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連 ... プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11 ... mean something to the language, and so you cannot use them in places like variable names, function names ... , and other places. Raw identifiers let you use keywords where they would not normally be allowed. ...
https://man.plustar.jp/rust/example/compatibility/raw_identifiers.html - [similar]
TryFromおよびTryInto - Rust By Example 日本語版 6073
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連 ... プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11 ... 性のある型変換に用いられるので、 Result を返します。 use std::convert::TryFrom; use std::convert::TryInto; ...
https://man.plustar.jp/rust/example/conversion/try_from_try_into.html - [similar]
引数処理 - Rust By Example 日本語版 6073
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連 ... プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11 ... の引数を文字列としてyieldするイテレータを返します。 use std::env; fn main() { let args: Vec<String> = env: ... lect(); // The first argument is the path that was used to call the program. // ひとつ目の引数はプログラム ...
https://man.plustar.jp/rust/example/std_misc/arg.html - [similar]
エラーをBoxする - Rust By Example 日本語版 5964
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連 ... プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11 ... 実装させることで、エラーをboxしやすくしてくれます。 use std::error; use std::fmt; // Change the alias to ` ...
https://man.plustar.jp/rust/example/error/multiple_error_types/boxing_errors.htm... - [similar]
OptionからResultを取り出す - Rust By Example 日本語版 5964
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連 ... プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11 ... 的な対処法は、単にお互いを埋め込んでしまうことです。 use std::num::ParseIntError; fn double_first(vec: Vec< ... 単に Result と Option をスワップすることができます。 use std::num::ParseIntError; fn double_first(vec: Vec< ...
https://man.plustar.jp/rust/example/error/multiple_error_types/option_result.htm... - [similar]
Resultに対するエイリアス - Rust By Example 日本語版 5964
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連 ... プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11 ... るほど有益なのです! 簡単な例で構文を見てみましょう。 use std::num::ParseIntError; // Define a generic alias ... pe AliasedResult<T> = Result<T, ParseIntError>; // Use the above alias to refer to our specific `Result` ...
https://man.plustar.jp/rust/example/error/result/result_alias.html - [similar]
Where句 - Rust By Example 日本語版 5964
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連 ... プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11 ... YourType {} // Expressing bounds with a `where` clause // `where`を用いてジェネリック境界を設ける。 impl ... 句の方が通常の構文より表現力が高い場合 があります。 use std::fmt::Debug; trait PrintInOption { fn print_in ...
https://man.plustar.jp/rust/example/generics/where.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT