検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 18 for called (0.020 sec.)
プライベートとパブリック - Rust By Example 日本語版 13366
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ルトでプライベート fn private_function() { println!("called `my_mod::private_function()`"); } // Use the `pub` ... 用いてパブリックに変更 pub fn function() { println!("called `my_mod::function()`"); } // Items can access othe ... とに支障はない。 pub fn indirect_access() { print!("called `my_mod::indirect_access()`, that\n> "); private_f ... ted pub mod nested { pub fn function() { println!("called `my_mod::nested::function()`"); } #[allow(dead_cod ...
https://man.plustar.jp/rust/example/mod/visibility.html - [similar]
ファイルの階層構造 - Rust By Example 日本語版 12920
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... きるようにします。 mod my; fn function() { println!("called `function()`"); } fn main() { my::function(); func ... ble; pub mod nested; pub fn function() { println!("called `my::function()`"); } fn private_function() { prin ... tln!("called `my::private_function()`"); } pub fn indirect_acce ... ss() { print!("called `my::indirect_access()`, that\n> "); private_funct ...
https://man.plustar.jp/rust/example/mod/split.html - [similar]
super と self - Rust By Example 日本語版 9831
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 避けるために使用できます。 fn function() { println!("called `function()`"); } mod cool { pub fn function() { p ... rintln!("called `cool::function()`"); } } mod my { fn function() { ... println!("called `my::function()`"); } mod cool { pub fn function() ... { println!("called `my::cool::function()`"); } } pub fn indirect_call ...
https://man.plustar.jp/rust/example/mod/super.html - [similar]
Creating a Library - Rust By Example 日本語版 8544
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... いきましょう。 pub fn public_function() { println!("called rary's `public_function()`"); } fn private_functio ... n() { println!("called rary's `private_function()`"); } pub fn indirect_a ... ccess() { print!("called rary's `indirect_access()`, that\n> "); private_fu ...
https://man.plustar.jp/rust/example/crates/lib.html - [similar]
Using a Library - Rust By Example 日本語版 8544
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... n rary=library.rlib --edition=2018 && ./executable called rary's `public_function()` called rary's `indirect ... _access()`, that > called rary's `private_function()` 関連キーワード: 関数 , ...
https://man.plustar.jp/rust/example/crates/using_lib.html - [similar]
クレート - Rust By Example 日本語版 8459
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ame = "rary"] pub fn public_function() { println!("called rary's `public_function()`"); } fn private_functio ... n() { println!("called rary's `private_function()`"); } pub fn indirect_a ... ccess() { print!("called rary's `indirect_access()`, that\n> "); private_fu ...
https://man.plustar.jp/rust/example/attribute/crate.html - [similar]
メソッド - Rust By Example 日本語版 8184
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 関連関数 // // Associated functions don't need to be called with an instance. // These functions are generally ... ectangle = Rectangle { // Associated functions are called using double colons // 関連関数はコロンを2つ挟んで ... gin(), p2: Point::new(3.0, 4.0), }; // Methods are called using the dot operator // Note that the first argu ...
https://man.plustar.jp/rust/example/fn/methods.html - [similar]
use宣言 - Rust By Example 日本語版 8012
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ction as other_function; fn function() { println!("called `function()`"); } mod deeply { pub mod nested { pu ... b fn function() { println!("called `deeply::nested::function()`"); } } } fn main() { ...
https://man.plustar.jp/rust/example/mod/use.html - [similar]
Integration testing - Rust By Example 日本語版 8012
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... src . File src/lib.rs : // Define this in a crate called `adder`. // Assume that crate is called adder, wil ...
https://man.plustar.jp/rust/example/testing/integration_testing.html - [similar]
演算子のオーバーロード - Rust By Example 日本語版 7909
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... rhs: Bar) -> FooBar { println!("> Foo.add(Bar) was called"); FooBar } } // By reversing the types, we end up ... rhs: Foo) -> BarFoo { println!("> Bar.add(Foo) was called"); BarFoo } } fn main() { println!("Foo + Bar = {: ...
https://man.plustar.jp/rust/example/trait/ops.html - [similar]
PREV 1 2 NEXT