doc.rust-lang.org/nightly/core/marker/trait.Sized.html
Preview meta tags from the doc.rust-lang.org website.
Linked Hostnames
2General Meta Tags
6- titleSized in core::marker - Rust
- charsetutf-8
- viewportwidth=device-width, initial-scale=1.0
- generatorrustdoc
- descriptionTypes with a constant size known at compile time.
Link Tags
4- alternate icon../../static.files/favicon-32x32-6580c154.png
- icon../../static.files/favicon-044be391.svg
- stylesheet../../static.files/normalize-9960930a.css
- stylesheet../../static.files/rustdoc-069232aa.css
Links
3- https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility
- https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0A%23!%5Ballow(dead_code)%5D%0A%0Afn+main()+%7B%0A++++struct+Foo%3CT%3E(T);%0A++++struct+Bar%3CT:+?Sized%3E(T);%0A++++%0A++++//+struct+FooUse(Foo%3C%5Bi32%5D%3E);+//+error:+Sized+is+not+implemented+for+%5Bi32%5D%0A++++struct+BarUse(Bar%3C%5Bi32%5D%3E);%0A%7D&edition=2024
- https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0A%23!%5Ballow(unused_variables)%5D%0A%0Afn+main()+%7B%0A++++trait+Foo+%7B+%7D%0A++++trait+Bar:+Sized+%7B+%7D%0A++++%0A++++struct+Impl;%0A++++impl+Foo+for+Impl+%7B+%7D%0A++++impl+Bar+for+Impl+%7B+%7D%0A++++%0A++++let+x:+%26dyn+Foo+=+%26Impl;%0A%7D&edition=2024