rust/src/libstd/unstable
bors 4989799799 auto merge of #7986 : alexcrichton/rust/raw-repr, r=brson
This moves the raw struct layout of closures, vectors, boxes, and strings into a
new `unstable::raw` module. This is meant to be a centralized location to find
information for the layout of these values.

As safe method, `unwrap`, is provided to convert a rust value to its raw
representation. Unsafe methods to convert back are not provided because they are
rarely used and too numerous to write an implementation for each (not much of a
common pattern).

This is progress on #6790. I tried to get a nice interface for a trait to implement in the raw module, but I was unable to come up with one. The hard part is that there are so many different directions to go from one way to another that it's difficult to find a pattern to follow to implement a trait with. Someone else might have some better luck though.
2013-07-26 19:46:36 -07:00
..
atomics.rs Added some more atomic operations. 2013-07-25 10:46:31 +02:00
dynamic_lib.rs auto merge of #7113 : alexcrichton/rust/banned-warnings, r=cmr 2013-06-26 00:56:04 -07:00
extfmt.rs Replaces the free-standing functions in f32, &c. 2013-07-08 18:05:17 +02:00
finally.rs Change finalize -> drop. 2013-06-25 21:14:39 -04:00
intrinsics.rs new snapshot 2013-07-22 01:09:48 -04:00
lang.rs std and extra: use as_c_str instead of as_buf in a couple places 2013-07-23 16:56:22 -07:00
mod.rs Consolidate raw representations of rust values 2013-07-26 09:53:03 -07:00
raw.rs Consolidate raw representations of rust values 2013-07-26 09:53:03 -07:00
simd.rs libstd: Rename libcore to libstd and libstd to libextra; update makefiles. 2013-05-22 21:57:05 -07:00
sync.rs Fix warnings in stdtest and extratest. Maybe somebody will care. 2013-07-20 05:12:05 -04:00