検索

phrase: max: clip:
target: order:
Results of 11 - 15 of about 15 for Foo (0.036 sec.)
関数 - Rust By Example 日本語版 7541
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... nvalid_output<'a>() -> &'a String { &String::from("foo") } // The above is invalid: `'a` must live longer ... than the function. // Here, `&String::from("foo")` would create a `String`, followed by a // refer ... 上の関数は正しくない。 // ここでは、`&String::from("foo")`は`String`のデータとそれへの参照を作り出す。 // ...
https://man.plustar.jp/rust/example/scope/lifetime/fn.html - [similar]
Conventions - Rust By Example 日本語版 7262
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 前の章ではこのようなディレクトリ階層がありました。 foo ├── Cargo.toml └── src └── main.rs しかし同じプロジ ... ディレクトリに置くことで他のバイナリを追加できます。 foo ├── Cargo.toml └── src ├── main.rs └── bin └── my_ ...
https://man.plustar.jp/rust/example/cargo/conventions.html - [similar]
ジェネリクス - Rust By Example 日本語版 7140
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 例として、あらゆる型の引数 T をとる ジェネリック関数 foo を定義すると: fn foo<T>(arg: T) { ... } となります ...
https://man.plustar.jp/rust/example/generics.html - [similar]
Diverging functions - Rust By Example 日本語版 6931
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... is an empty type. #![allow(unused)] fn main() { fn foo() -> ! { panic!("This call never returns."); } } A ...
https://man.plustar.jp/rust/example/fn/diverging.html - [similar]
所有権とムーブ - Rust By Example 日本語版 6861
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... サインする( let x = y )際や、関数に引数を値渡しする( foo(x) )際は、資源の 所有権( ownership ) が移動します。 ...
https://man.plustar.jp/rust/example/scope/move.html - [similar]
PREV 1 2 NEXT