According to the docs: > if you want to borrow only a single field of a struct you can > implement AsRef, but not Borrow. https://doc.rust-lang.org/std/convert/trait.AsRef.html
According to the docs: > if you want to borrow only a single field of a struct you can > implement AsRef, but not Borrow. https://doc.rust-lang.org/std/convert/trait.AsRef.html