Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Borrow #7

Open
czipperz opened this issue May 23, 2019 · 5 comments
Open

Support Borrow #7

czipperz opened this issue May 23, 2019 · 5 comments

Comments

@czipperz
Copy link

Borrow is pretty similar to AsRef and thus it would make sense to support it here.

@Artoria2e5
Copy link
Contributor

I'm thinking about doing this and #8 together when I get more time. Anything else in https://doc.rust-lang.org/std/all.html#Traits that might make sense to add?

@llogiq
Copy link
Owner

llogiq commented Aug 19, 2021

Deref and DerefMut come to mind.

@sunfishcode
Copy link

Could I suggest AsFd too? Note that it's currently only in Nightly.

@Imberflur
Copy link

IntoIterator would be useful

@llogiq
Copy link
Owner

llogiq commented Aug 30, 2022

Could I suggest AsFd too? Note that it's currently only in Nightly.

Likely behind a feature flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants