Module rustc_trans::trans::tvecExperimental
[-]
[+]
[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_fixed_base_and_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 doesn't need to copy the content anywhere. |
| trans_slice_vec | &[...] allocates memory on the stack and writes the values into it, returning the vector (the caller must make the reference). "..." is similar except that the memory can be statically allocated and we return a reference (strings are always by-ref). |
| vec_types | |
| vec_types_from_expr | |
| write_content |
Type Definitions
| iter_vec_block |