検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for static (0.018 sec.)
Subtyping and Variance 12760
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 8 , then it's totally fine for me to hand you an &'static u8 , in the same way that if you expect an Animal ... u a Cat. Cats are just Animals and more , just as 'static is just 'a and more . (Note, the subtyping relatio ... ant over T. It is reasonable to be able to pass &&'static str where an &&'a str is expected. The additional ... input = *new; } fn main() { let mut forever_str: &'static str = "hello"; { let string = String::from("world" ...
https://man.plustar.jp/rust/nomicon/subtyping.html - [similar]
無制限のライフタイム 10139
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... キストが必要とするだけ大きくなります。そしてこれは 'static よりも強力なしくみです。 &'static &'a T は型チェッ ... んどの意図と目的においては、無制限のライフタイムを 'static と解釈できます。 参照が 'static であることはまずあ ... ワード: ライフタイム , 無制限 , 参照 , 関数 , 制限 , static , チェック , メモリ , 省略 , 境界 ...
https://man.plustar.jp/rust/nomicon/unbounded-lifetimes.html - [similar]
print.html 9850
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... しなくてはいけなくなります。 ライフタイムは、 'a や 'static などアポストロフィーつきの名前を持ちます。 ライフタ ... キストが必要とするだけ大きくなります。そしてこれは 'static よりも強力なしくみです。 &'static &'a T は型チェッ ... んどの意図と目的においては、無制限のライフタイムを 'static と解釈できます。 参照が 'static であることはまずあ ... 8 , then it's totally fine for me to hand you an &'static u8 , in the same way that if you expect an Animal ...
https://man.plustar.jp/rust/nomicon/print.html - [similar]
Drop Check 9651
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... eric, then the only lifetimes they can harbor are 'static , which will truly live forever . This is why this ... cess borrowed data: struct Inspector<'a>(&'a u8, &'static str); impl<'a> Drop for Inspector<'a> { fn drop(&m ... e std::fmt; struct Inspector<T: fmt::Display>(T, &'static str); impl<T: fmt::Display> Drop for Inspector<T> ... ve, we would write: struct Inspector<'a>(&'a u8, &'static str); unsafe impl<#[may_dangle] 'a> Drop for Inspe ...
https://man.plustar.jp/rust/nomicon/dropck.html - [similar]
PhantomData 7609
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... lates a field of the given type for the purpose of static analysis. This was deemed to be less error-prone t ...
https://man.plustar.jp/rust/nomicon/phantom-data.html - [similar]
型強制 7500
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... する型 U への型強制サイトは以下の通りです。 let 文、 static、 const: let x: U = e 関数に対する引数: takes_a_U(e ...
https://man.plustar.jp/rust/nomicon/coercions.html - [similar]
レイアウト 7410
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... すから &Vec<&'a str> が予期されているところで &Vec<&'static str> を使う事が 出来ません。もっと重要なことに、こ ...
https://man.plustar.jp/rust/nomicon/vec-layout.html - [similar]
ライフタイム 7320
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... しなくてはいけなくなります。 ライフタイムは、 'a や 'static などアポストロフィーつきの名前を持ちます。 ライフタ ...
https://man.plustar.jp/rust/nomicon/lifetimes.html - [similar]
PREV 1 NEXT