検索

phrase: max: clip:
target: order:
Results of 1 - 7 of about 7 for nested (0.019 sec.)
プライベートとパブリック - Rust By Example 日本語版 12650
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... > "); private_function(); } // Modules can also be nested pub mod nested { pub fn function() { println!("cal ... led `my_mod::nested::function()`"); } #[allow(dead_code)] fn private_f ... unction() { println!("called `my_mod::nested::private_function()`"); } // Functions declared us ... lic_function_in_my_mod() { print!("called `my_mod::nested::public_function_in_my_mod()`, that\n> "); public_ ...
https://man.plustar.jp/rust/example/mod/visibility.html - [similar]
use宣言 - Rust By Example 日本語版 10196
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... exist and not be commented out! use crate::deeply::nested::{ my_first_function, my_second_function, AndATrai ... にバインドすることができます。 // Bind the `deeply::nested::function` path to `other_function`. // `deeply::n ... :function`を`other_function`にバインド use deeply::nested::function as other_function; fn function() { print ... ln!("called `function()`"); } mod deeply { pub mod nested { pub fn function() { println!("called `deeply::ne ...
https://man.plustar.jp/rust/example/mod/use.html - [similar]
ファイルの階層構造 - Rust By Example 日本語版 10105
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... . |-- my | |-- inaccessible.rs | |-- mod.rs | `-- nested.rs `-- split.rs In split.rs : // This declaration ... function(); function(); my::indirect_access(); my::nested::function(); } In my/mod.rs : // Similarly `mod in ... accessible` and `mod nested` will locate the `nested.rs` // and `inaccessible. ... ctive // modules // 同様に`mod inaccessible`、`mod nested`によって、`nested.rs`、`inaccessible.rs`の内容をこ ...
https://man.plustar.jp/rust/example/mod/split.html - [similar]
?によるOptionのアンパック - Rust By Example 日本語版 7688
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ode(&self) -> Option<u8> { // This would need many nested `match` statements without the `?` operator. // It ...
https://man.plustar.jp/rust/example/error/option_unwrap/question_mark.html - [similar]
コメント - Rust By Example 日本語版 7688
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ling * chunks of code. /* Block comments can be /* nested, */ */ * so it takes only a few keystrokes to comm ...
https://man.plustar.jp/rust/example/hello/comment.html - [similar]
RAII - Rust By Example 日本語版 7688
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 数をヒープ上に確保 let _box2 = Box::new(5i32); // A nested scope: // ネストしたスコープ { // Allocate an inte ...
https://man.plustar.jp/rust/example/scope/raii.html - [similar]
Rust By Example 日本語版 7561
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ling * chunks of code. /* Block comments can be /* nested, */ */ * so it takes only a few keystrokes to comm ...
https://man.plustar.jp/rust/example/print.html - [similar]
PREV 1 NEXT