Is #rustlang using "?Sized" as a placeholder, an "Any" name in a template? Because that's what it looks like.
It means “may or may not implement Sized”; Sized is the only trait you can use ? with.
-
-
Right. My point is that when, say, MIO defines the function pub fn register<E: ?Sized>(&mut self, handle: &E) ... it seems to me that E is there is playing an almost duck-typed role.
-
Quite fair! Traits in general do have some similarities; it depends on how you define “duck typing”.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.