We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypeId
1 parent 292db4a commit abc88ffCopy full SHA for abc88ff
library/core/src/any.rs
@@ -611,6 +611,10 @@ impl dyn Any + Send + Sync {
611
/// noting that the hashes and ordering will vary between Rust releases. Beware
612
/// of relying on them inside of your code!
613
///
614
+/// # Layout
615
+///
616
+/// The size of `TypeId` is guaranteed not to exceed 16 bytes.
617
618
/// # Danger of Improper Variance
619
620
/// You might think that subtyping is impossible between two static types,
0 commit comments