Menu

📰
0

What if Rust had a new data type that supports partial field borrows?

Reddit r/rust·u/NormalAppearance2851·about 1 month ago
#5wQEYnID
Reading 0:00
15s threshold

What if Rust had a new data type that supports partial field borrows? So, what if we had something like a struct, but its methods borrow the fields instead of the whole thing?…

Anonymous readers can preview up to 1024 characters here. Log in to unlock the full article once ingest succeeds.
Read More