検索

phrase: max: clip:
target: order:
Results of 11 - 19 of about 19 for generic (0.032 sec.)
関数を受け取る関数 - Rust By Example 日本語版 7922
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ことができます。 // Define a function which takes a generic `F` argument // bounded by `Fn`, and calls it // 関 ...
https://man.plustar.jp/rust/example/fn/closures/input_functions.html - [similar]
read lines - Rust By Example 日本語版 7922
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... tor over the lines of a file. File::open expects a generic, AsRef<Path> . That's what read_lines() expects as ...
https://man.plustar.jp/rust/example/std_misc/file/read_lines.html - [similar]
エラー型を定義する - Rust By Example 日本語版 7820
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... elf) -> Option<&(dyn error::Error + 'static)> { // Generic error, underlying cause isn't tracked. // 基本とな ...
https://man.plustar.jp/rust/example/error/multiple_error_types/define_error_type... - [similar]
クロージャを受け取る関数 - Rust By Example 日本語版 7820
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ょう。 #![allow(unused)] fn main() { // `F` must be generic. // `F` はジェネリック型でなくてはならない fn appl ...
https://man.plustar.jp/rust/example/fn/closures/anonymity.html - [similar]
捕捉時の型推論 - Rust By Example 日本語版 7820
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... argument and calls it. // <F> denotes that F is a "Generic type parameter" fn apply<F>(f: F) where // The clo ... o_3(double)); } 参照 std::mem::drop , Fn , FnMut , Generics , where and FnOnce 関連キーワード: 捕捉 , 関数 , ...
https://man.plustar.jp/rust/example/fn/closures/input_parameters.html - [similar]
関連型 - Rust By Example 日本語版 7820
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... e B; // Updated syntax to refer to these new types generically. // これらの新しい型をジェネリックに使用するた ... を取り出すこともできる。 trait Contains { // Define generic types here which methods will be able to utilize. ...
https://man.plustar.jp/rust/example/generics/assoc_items/types.html - [similar]
テストケース: 単位を扱う - Rust By Example 日本語版 7820
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... with phantom type parameter `Unit`, /// and is not generic over the length type (that is `f64`). /// `Length` ...
https://man.plustar.jp/rust/example/generics/phantom/testcase_units.html - [similar]
スタティックライフタイム - Rust By Example 日本語版 7820
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... lo world"; // 'static as part of a trait bound: fn generic<T>(x: T) where T: 'static {} Both are related but ...
https://man.plustar.jp/rust/example/scope/lifetime/static_lifetime.html - [similar]
Rust By Example 日本語版 7718
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... argument and calls it. // <F> denotes that F is a "Generic type parameter" fn apply<F>(f: F) where // The clo ... o_3(double)); } 参照 std::mem::drop , Fn , FnMut , Generics , where and FnOnce クロージャを受け取る関数 クロー ... ょう。 #![allow(unused)] fn main() { // `F` must be generic. // `F` はジェネリック型でなくてはならない fn appl ... ことができます。 // Define a function which takes a generic `F` argument // bounded by `Fn`, and calls it // 関 ...
https://man.plustar.jp/rust/example/print.html - [similar]
PREV 1 2 NEXT