lily,
@lily@glaceon.social avatar

what is the point of "Ext" traits in rust?

is it just to avoid method namespace pollution?

at first i thought it would be to reduce vtable size, but vtables are passed by pointer anyway, so it wouldn't make a big difference unless you were constructing a lot of different "dyn" objects.

#rust #rustlang

  • All
  • Subscribed
  • Moderated
  • Favorites
  • rust
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • tacticalgear
  • modclub
  • anitta
  • cisconetworking
  • tester
  • ngwrru68w68
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines