検索

phrase: max: clip:
target: order:
Results of 1 - 4 of about 4 for variant (0.013 sec.)
Subtyping and Variance 12353
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... uts. There are two kinds of variance in Rust: F is variant over T if T being a subtype of U implies F<T> is a ... ubtype of F<U> (subtyping "passes through") F is invariant over T otherwise (no subtyping relation can be der ... in and it may be scrapped. For now, fn(T) is contravariant in T , which is used in matching methods in trait ... Traits don't have inferred variance, so Fn(T) is invariant in T ). Some important variances: &'a T is variant ...
https://man.plustar.jp/rust/nomicon/subtyping.html - [similar]
print.html 8876
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... uts. There are two kinds of variance in Rust: F is variant over T if T being a subtype of U implies F<T> is a ... ubtype of F<U> (subtyping "passes through") F is invariant over T otherwise (no subtyping relation can be der ... in and it may be scrapped. For now, fn(T) is contravariant in T , which is used in matching methods in trait ... Traits don't have inferred variance, so Fn(T) is invariant in T ). Some important variances: &'a T is variant ...
https://man.plustar.jp/rust/nomicon/print.html - [similar]
Drop Check 7896
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... the capability for such access. For example, this variant of the above Inspector example will never access b ... ot access the // borrowed `days`. } Likewise, this variant will also never access borrowed data: use std::fmt ... e // borrowed `days`. } However, both of the above variants are rejected by the borrow checker during the ana ...
https://man.plustar.jp/rust/nomicon/dropck.html - [similar]
PhantomData 7822
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... ifetime will be bounded, and your iterator will be variant over 'a and T . Everything Just Works. Another imp ...
https://man.plustar.jp/rust/nomicon/phantom-data.html - [similar]
PREV 1 NEXT