Home
last modified time | relevance | path

Searched defs:from_ref (Results 1 – 5 of 5) sorted by relevance

/external/rust/cxx/src/
Drust_string.rs14 pub fn from_ref(s: &String) -> &Self { in from_ref() method
Drust_slice.rs11 pub fn from_ref<T>(slice: &[T]) -> Self { in from_ref() method
Drust_vec.rs20 pub fn from_ref(v: &Vec<T>) -> &Self { in from_ref() method
/external/rust/crates/protobuf/src/
Drepeated.rs335 pub fn from_ref<X: AsRef<[T]>>(values: X) -> RepeatedField<T> { in from_ref() method
/external/rust/crates/linked-hash-map/src/
Dlib.rs93 fn from_ref(q: &Q) -> &Self { unsafe { mem::transmute(q) } } in from_ref() method