Feddit.dk
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
snaggen@programming.dev to Rust@programming.devEnglish · 1 year ago

Rust Container Cheat Sheet

programming.dev

message-square
4
link
fedilink
  • cross-posted to:
  • learningrustandlemmy@lemmy.ml
96

Rust Container Cheat Sheet

programming.dev

snaggen@programming.dev to Rust@programming.devEnglish · 1 year ago
message-square
4
link
fedilink
  • cross-posted to:
  • learningrustandlemmy@lemmy.ml

Found this on Mastodon https://fosstodon.org/@dpom/112681955888465502 , and it is a very nice overview of the containers and their layout.

  • Sosthène Guédon@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Because when T is !Sized, the layout is different, it looks more like the layout of &[T].

Rust@programming.dev

rust@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@programming.dev

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 51 users / day
  • 198 users / week
  • 459 users / month
  • 2.86K users / 6 months
  • 11 local subscribers
  • 7.07K subscribers
  • 1.02K Posts
  • 4.67K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org