Home
last modified time | relevance | path

Searched refs:from_mut (Results 1 – 4 of 4) sorted by relevance

/external/rust/cxx/src/
Drust_vec.rs24 pub fn from_mut(v: &mut Vec<T>) -> &mut Self { in from_mut() method
78 Self::from_mut(unsafe { &mut *(v as *mut Vec<String> as *mut Vec<RustString>) }) in from_mut_vec_string()
Drust_string.rs18 pub fn from_mut(s: &mut String) -> &mut Self { in from_mut() method
Drust_slice.rs18 pub fn from_mut<T>(slice: &mut [T]) -> Self { in from_mut() method
/external/rust/cxx/macro/src/
Dexpand.rs499 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()