Module rustc::middle::trans::tvec[src]
Structs
| VecTypes |
Functions
| elements_required | Figure out the number of elements we need to store this content |
| get_base_and_len | Converts a vector into the slice pair. The vector should be
stored in |
| get_dataptr | |
| get_fill | |
| get_fixed_base_and_byte_len | Converts a fixed-length vector into the slice pair.
The vector should be stored in |
| iter_vec_loop | |
| iter_vec_raw | |
| make_drop_glue_unboxed | |
| pointer_add_byte | |
| trans_fixed_vstore | |
| trans_lit_str | Literal strings translate to slices into static memory. This is different from trans_slice_vstore() above because it does need to copy the content anywhere. |
| trans_slice_vstore | &[...] allocates memory on the stack and writes the values into it, returning a slice (pair of ptr, len). &"..." is similar except that the memory can be statically allocated. |
| trans_uniq_vstore | ~[...] and "...".to_string() allocate boxes in the exchange heap and write the array elements into them. |
| vec_types | |
| vec_types_from_expr | |
| write_content |
Type Definitions
| iter_vec_block |