8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AsRef
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.
8000 Already on GitHub? Sign in to your account
AsRef<T> where T itself implements AsRef for some other type.
AsRef<T>
T
Examples would include:
AsRef<PathBuf>
AsRef<Path>
AsRef<String>
AsRef<str>
The text was updated successfully, but these errors were encountered:
@incertia points out this should not catch automatically derived AsRef implementations:
^will this catch automatically derived AsRef<String> in the case of Box<String> etc?
EDIT: https://doc.rust-lang.org/std/boxed/struct.Box.html#impl-AsRef%3CT%3E-for-Box%3CT,+A%3E
Sorry, something went wrong.
No branches or pull requests
AsRef<T>
whereT
itself implementsAsRef
for some other type.Examples would include:
AsRef<PathBuf>
(AsRef<Path>
is better)AsRef<String>
(AsRef<str>
is better)The text was updated successfully, but these errors were encountered: