検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 193 for derive (0.035 sec.)
Combinators: and_then - Rust By Example 日本語版 6747
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ライフタイム 15.4.9. 省略 16. トレイト ❱ 16.1. 継承(Derive) 16.2. Returning Traits with dyn 16.3. 演算子のオー ... eat() には不適切な型です。 #![allow(dead_code)] #[derive(Debug)] enum Food { CordonBleu, Steak, Sushi } #[d ...
https://man.plustar.jp/rust/example/error/option_unwrap/and_then.html - [similar]
?によるOptionのアンパック - Rust By Example 日本語版 6747
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ライフタイム 15.4.9. 省略 16. トレイト ❱ 16.1. 継承(Derive) 16.2. Returning Traits with dyn 16.3. 演算子のオー ... とができます。 struct Person { job: Option<Job>, } #[derive(Clone, Copy)] struct Job { phone_number: Option<Ph ... oneNumber>, } #[derive(Clone, Copy)] struct PhoneNumber { area_code: Opti ...
https://man.plustar.jp/rust/example/error/option_unwrap/question_mark.html - [similar]
クローン - Rust By Example 日本語版 6747
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ライフタイム 15.4.9. 省略 16. トレイト ❱ 16.1. 継承(Derive) 16.2. Returning Traits with dyn 16.3. 演算子のオー ... ithout resources // いかなる資源も持たない構造体 #[derive(Debug, Clone, Copy)] struct Unit; // A tuple struc ... `トレイトを実装する型の変数を資源として持つタプル #[derive(Clone, Debug)] struct Pair(Box<i32>, Box<i32>); fn ...
https://man.plustar.jp/rust/example/trait/clone.html - [similar]
演算子のオーバーロード - Rust By Example 日本語版 6747
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ライフタイム 15.4.9. 省略 16. トレイト ❱ 16.1. 継承(Derive) 16.2. Returning Traits with dyn 16.3. 演算子のオー ... にあります。 use std::ops; struct Foo; struct Bar; #[derive(Debug)] struct FooBar; #[derive(Debug)] struct Bar ...
https://man.plustar.jp/rust/example/trait/ops.html - [similar]
Traits - Rust By Example 日本語版 6214
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ライフタイム 15.4.9. 省略 16. トレイト ❱ 16.1. 継承(Derive) 16.2. Returning Traits with dyn 16.3. 演算子のオー ... s too. // A struct with annotation of lifetimes. #[derive(Debug)] struct Borrowed<'a> { x: &'a i32, } // Ann ...
https://man.plustar.jp/rust/example/scope/lifetime/trait.html - [similar]
TryFromおよびTryInto - Rust By Example 日本語版 6040
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ライフタイム 15.4.9. 省略 16. トレイト ❱ 16.1. 継承(Derive) 16.2. Returning Traits with dyn 16.3. 演算子のオー ... td::convert::TryFrom; use std::convert::TryInto; #[derive(Debug, PartialEq)] struct EvenNumber(i32); impl Tr ...
https://man.plustar.jp/rust/example/conversion/try_from_try_into.html - [similar]
エラーをBoxする - Rust By Example 日本語版 6040
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ライフタイム 15.4.9. 省略 16. トレイト ❱ 16.1. 継承(Derive) 16.2. Returning Traits with dyn 16.3. 演算子のオー ... = std::result::Result<T, Box<dyn error::Error>>; #[derive(Debug, Clone)] struct EmptyVec; impl fmt::Display ...
https://man.plustar.jp/rust/example/error/multiple_error_types/boxing_errors.htm... - [similar]
Partial moves - Rust By Example 日本語版 6040
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ライフタイム 15.4.9. 省略 16. トレイト ❱ 16.1. 継承(Derive) 16.2. Returning Traits with dyn 16.3. 演算子のオー ... d (and not moved) can still be used. fn main() { #[derive(Debug)] struct Person { name: String, age: u8, } l ...
https://man.plustar.jp/rust/example/scope/move/partial_move.html - [similar]
? - Rust By Example 日本語版 6040
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ライフタイム 15.4.9. 省略 16. トレイト ❱ 16.1. 継承(Derive) 16.2. Returning Traits with dyn 16.3. 演算子のオー ... ranch expands to an ok expression. mod checked { #[derive(Debug)] enum MathError { DivisionByZero, NonPositi ...
https://man.plustar.jp/rust/example/std/result/question_mark.html - [similar]
他言語関数インターフェイス - Rust By Example 日本語版 6040
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ライフタイム 15.4.9. 省略 16. トレイト ❱ 16.1. 継承(Derive) 16.2. Returning Traits with dyn 16.3. 演算子のオー ... 単精度浮動小数の複素数型の最小限の実装 #[repr(C)] #[derive(Clone, Copy)] struct Complex { re: f32, im: f32, } ...
https://man.plustar.jp/rust/example/std_misc/ffi.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT