-
Notifications
You must be signed in to change notification settings - Fork 32
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
as_ref and as_mut #62
Comments
I'm not against the idea, I just wonder if it could cause issues since vectors already implement I also find myself using There's always the possibility to do One thing I'm also thinking about is how that well that would interact with So I would say, "why not, let's try it out", and if it breaks something, well, we'll have to find another way. |
I don't believe that this is possible. |
I've found myself wanting methods similar to
Option
'sas_ref
andas_mut
.Their type signatures would be as follows:
What do you think?
The text was updated successfully, but these errors were encountered: