Searched refs:from_mut (Results 1 – 4 of 4) sorted by relevance
24 pub fn from_mut(v: &mut Vec<T>) -> &mut Self { in from_mut() method78 Self::from_mut(unsafe { &mut *(v as *mut Vec<String> as *mut Vec<RustString>) }) in from_mut_vec_string()
18 pub fn from_mut(s: &mut String) -> &mut Self { in from_mut() method
18 pub fn from_mut<T>(slice: &mut [T]) -> Self { in from_mut() method
499 true => quote!(::cxx::private::RustString::from_mut(#var)), in expand_cxx_function_shim()507 true => quote!(::cxx::private::RustVec::from_mut(#var)), in expand_cxx_function_shim()533 true => quote!(::cxx::private::RustSlice::from_mut(#var)), in expand_cxx_function_shim()966 true => Some(quote!(::cxx::private::RustString::from_mut)), in expand_rust_function_shim_impl()974 true => Some(quote!(::cxx::private::RustVec::from_mut)), in expand_rust_function_shim_impl()981 true => Some(quote!(::cxx::private::RustSlice::from_mut)), in expand_rust_function_shim_impl()