Function rustc_trans::trans::tvec::get_base_and_lenExperimental
[-]
[+]
[src]
pub fn get_base_and_len(bcx: Block, llval: ValueRef, vec_ty: Ty) -> (ValueRef, ValueRef)
Converts a vector into the slice pair. The vector should be
stored in llval which should be by-reference. If you have a
datum, you would probably prefer to call
Datum::get_base_and_len() which will handle any conversions
for you.