Izagawd
Izagawd
> > if we have a collection of `Vec`, they would have to all have the same AGE value > > Why would that have to be the case? Oh...
> It's not even clear that it is an optimization. vtables can be duplicated, and having a copy of some large value in every one of them might not be...
@afetisov > There is nothing "constant" about such fields. They are purely dynamic values stored in the vtable. You can't use them as real constants: you can't use them to...
I accidentally closed the branch with a comment. My apologies
I made another RFC: https://github.com/rust-lang/rfcs/pull/3888. If that lands, rather than having every trait object being forced to store metadata for casting, there could be a ```rust trait Castable: 'static {...
@tmccombs I would use a better name than `exhaustive` if I could, but I can't think of a better name either ¯\_(ツ)_/¯
@burdges i tried `intertrait` and it doesnt... work, not even the example code in their [crates.io](https://crates.io/crates/intertrait) page I also tried out `trait-cast`. It does not support generic parameters at all,...
> It nevertheless shows that rule 1 maybe excessively restrictive. I agree, but I cannot find a way around this due to how separate compilation works. I would gladly remove...