検索

phrase: max: clip:
target: order:
Results of 1 - 7 of about 7 for never (0.022 sec.)
Diverging functions - Rust By Example 日本語版 13522
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... e 日本語版 Diverging functions Diverging functions never return. They are marked using ! , which is an empt ... ed)] fn main() { fn foo() -> ! { panic!("This call never returns."); } } As opposed to all the other types, ... line.") } As opposed to this function, which will never return the control back to the caller. #![feature( ... er_type)] fn main() { let x: ! = panic!("This call never returns."); println!("You will never see this line ...
https://man.plustar.jp/rust/example/fn/diverging.html - [similar]
ネストとラベル - Rust By Example 日本語版 8451
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 中断します break 'outer; } println!("This point will never be reached"); } println!("Exited the outer loop"); ...
https://man.plustar.jp/rust/example/flow_control/loop/nested.html - [similar]
Rc - Rust By Example 日本語版 8451
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... an Rc . Reference count of an Rc increases by 1 whenever an Rc is cloned, and decreases by 1 whenever one c ... he Rc and the value are all dropped. Cloning an Rc never performs a deep copy. Cloning creates just another ...
https://man.plustar.jp/rust/example/std/rc.html - [similar]
明示的アノテーション - Rust By Example 日本語版 8306
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... on, but `'a` is longer. // Because the lifetime is never constrained, it defaults to `'static`. // `failed_ ...
https://man.plustar.jp/rust/example/scope/lifetime/explicit.html - [similar]
スタティックライフタイム - Rust By Example 日本語版 8306
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... n to the type for as long as they want and it will never become invalid until they drop it. It's important ...
https://man.plustar.jp/rust/example/scope/lifetime/static_lifetime.html - [similar]
イテレータ - Rust By Example 日本語版 8306
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... nt to a Fibonacci sequence, the `Iterator` // will never return `None`, and `Some` is always returned. // フ ...
https://man.plustar.jp/rust/example/trait/iter.html - [similar]
Rust By Example 日本語版 8160
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 中断します break 'outer; } println!("This point will never be reached"); } println!("Exited the outer loop"); ... れています。 Diverging functions Diverging functions never return. They are marked using ! , which is an empt ... ed)] fn main() { fn foo() -> ! { panic!("This call never returns."); } } As opposed to all the other types, ...
https://man.plustar.jp/rust/example/print.html - [similar]
PREV 1 NEXT