> if ptr is null, then length and capacity should be 0 http://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html#method.from_raw_parts