Alex Crichton
2d7f601696
Add conversions between typed arrays and Rust
...
For all typed arrays, this commit adds:
* `TypedArray::view(src: &[Type])`
* `TypedArray::copy_to(&self, dst: &mut [Type])`
The `view` function is unsafe because it doesn't provide any guarantees
about lifetimes or mutability. The `copy_to` function is, however, safe.
Closes #811
2019-01-04 10:42:14 -08:00
..
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-11-27 12:07:59 -08:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-07-20 12:43:07 -07:00
2018-09-26 08:26:00 -07:00
2018-07-20 12:56:32 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-25 14:30:26 -07:00
2018-11-27 12:07:59 -08:00
2018-09-26 08:26:00 -07:00
2018-08-19 14:42:22 -04:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-07-20 15:23:56 -07:00
2018-11-08 13:04:38 -08:00
2018-09-26 08:26:00 -07:00
2018-07-20 15:35:15 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-25 14:30:26 -07:00
2018-11-08 13:04:38 -08:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-07-20 16:19:10 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2019-01-04 10:42:14 -08:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-26 08:26:00 -07:00
2018-09-06 14:47:37 -07:00
2018-11-27 12:07:59 -08:00