Skip to content

stack of heterogenous views #613

Answered by dzhou121
JimitSoni18 asked this question in Q&A
Discussion options

You must be logged in to vote

Box is the way. A built in trait into_any is just for this purpose.

fn into_any(self) -> AnyView {

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dzhou121
Comment options

Answer selected by JimitSoni18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants