Lines Matching defs:T
64 elem: T, in vec_try_fill_with_alloc_err()
67 ) -> Result<Vec<T>, E> { in vec_try_fill_with_alloc_err()
77 x1: T, in vec_try4_with_alloc_err()
78 x2: T, in vec_try4_with_alloc_err()
79 x3: T, in vec_try4_with_alloc_err()
80 x4: T, in vec_try4_with_alloc_err()
82 ) -> Result<Vec<T>, E> { in vec_try4_with_alloc_err()
99 x1: T, in vec_try3_with_alloc_err()
100 x2: T, in vec_try3_with_alloc_err()
101 x3: T, in vec_try3_with_alloc_err()
103 ) -> Result<Vec<T>, E> { in vec_try3_with_alloc_err()
118 x1: T, in vec_try2_with_alloc_err()
119 x2: T, in vec_try2_with_alloc_err()
121 ) -> Result<Vec<T>, E> { in vec_try2_with_alloc_err()
134 pub fn vec_try1_with_alloc_err<T: Clone, E>(x1: T, alloc_err: fn() -> E) -> Result<Vec<T>, E> { in vec_try1_with_alloc_err() argument
281 pub fn cbor_type_error<T>(value: &cbor::value::Value, want: &'static str) -> Result<T, CborError> { in cbor_type_error()