Menu

#PhantomData

1 post

Feed
1 of 1 post
📰
0

do i really need PhantomData

Reddit r/rust·u/zylosophe·about 1 month ago
#mCiUe8l1

ok so i got the trait Foo, and the trait Bar . if i make a wrapper for a Bar: ``` struct Wrapper >(B); ``` doesn't work because "F is unused". do i \*have\* to add a PhantomData to "use" F?

15s
Read More