We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Box<SliceMut<T>> could own the pointer in SliceMut (like Box<[T]> in Rust).
Box<SliceMut<T>>
Box<[T]>
The advantage over Vec is really you don't have a capacity field anymore.
We'd need Vec::into_boxed_slice, Box<SliceMut<T>::from(Vec<T>), Box<SliceMut<T>::from_iter(IntoIterator<T> auto)
Vec::into_boxed_slice
Box<SliceMut<T>::from(Vec<T>)
Box<SliceMut<T>::from_iter(IntoIterator<T> auto)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Box<SliceMut<T>>
could own the pointer in SliceMut (likeBox<[T]>
in Rust).The advantage over Vec is really you don't have a capacity field anymore.
We'd need
Vec::into_boxed_slice
,Box<SliceMut<T>::from(Vec<T>)
,Box<SliceMut<T>::from_iter(IntoIterator<T> auto)
The text was updated successfully, but these errors were encountered: