Lines Matching defs:RustVec
14 pub struct RustVec<T> {
19 impl<T> RustVec<T> {
25 unsafe { mem::transmute::<Vec<T>, RustVec<T>>(v) }
29 unsafe { &*(v as *const Vec<T> as *const RustVec<T>) }
33 unsafe { &mut *(v as *mut Vec<T> as *mut RustVec<T>) }
37 unsafe { mem::transmute::<RustVec<T>, Vec<T>>(self) }
41 unsafe { &*(self as *const RustVec<T> as *const Vec<T>) }
45 unsafe { &mut *(self as *mut RustVec<T> as *mut Vec<T>) }
77 impl RustVec<RustString> {
103 unsafe { &*(self as *const RustVec<RustString> as *const Vec<String>) }
107 unsafe { &mut *(self as *mut RustVec<RustString> as *mut Vec<String>) }
111 impl<T> Drop for RustVec<T> {