Searched defs:from_ref (Results 1 – 5 of 5) sorted by relevance
14 pub fn from_ref(s: &String) -> &Self { in from_ref() method
11 pub fn from_ref<T>(slice: &[T]) -> Self { in from_ref() method
20 pub fn from_ref(v: &Vec<T>) -> &Self { in from_ref() method
335 pub fn from_ref<X: AsRef<[T]>>(values: X) -> RepeatedField<T> { in from_ref() method
93 fn from_ref(q: &Q) -> &Self { unsafe { mem::transmute(q) } } in from_ref() method