Function rustc::middle::trans::tvec::get_base_and_len[src]
pub fn get_base_and_len(bcx: &Block, llval: ValueRef, vec_ty: t) -> (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.