Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
domenukk
· 5y ago · 0 comments
To be fair, a trait gets you 98% there. It can have default implementations for most functions, you just overwrite the ones you want to change. You'll still need to declare the underlying struct though, so a bit of extra code
Comments
No comments yet.
Better HN