Lines Matching refs:Ref
51 T::Ref: fmt::Debug,
104 type Ref = StackRef<T>; typedef
220 pub fn get(&self, idx: usize) -> Option<&T::Ref> { in get() argument
226 Some(T::Ref::from_ptr(self._get(idx))) in get()
232 pub fn get_mut(&mut self, idx: usize) -> Option<&mut T::Ref> { in get_mut() argument
238 Some(T::Ref::from_ptr_mut(self._get(idx))) in get_mut()
265 type Output = T::Ref;
267 fn index(&self, index: usize) -> &T::Ref { in index() argument
273 fn index_mut(&mut self, index: usize) -> &mut T::Ref { in index_mut() argument
279 type Item = &'a T::Ref;
288 type Item = &'a mut T::Ref;
297 type Item = &'a T::Ref;
306 type Item = &'a mut T::Ref;
321 type Item = &'a T::Ref;
323 fn next(&mut self) -> Option<&'a T::Ref> { in next() argument
327 .map(|i| T::Ref::from_ptr(OPENSSL_sk_value(self.stack.as_stack(), i) as *mut _)) in next()
337 fn next_back(&mut self) -> Option<&'a T::Ref> { in next_back() argument
341 .map(|i| T::Ref::from_ptr(OPENSSL_sk_value(self.stack.as_stack(), i) as *mut _)) in next_back()
355 type Item = &'a mut T::Ref;
357 fn next(&mut self) -> Option<&'a mut T::Ref> { in next() argument
361 .map(|i| T::Ref::from_ptr_mut(OPENSSL_sk_value(self.stack.as_stack(), i) as *mut _)) in next()
371 fn next_back(&mut self) -> Option<&'a mut T::Ref> { in next_back() argument
375 .map(|i| T::Ref::from_ptr_mut(OPENSSL_sk_value(self.stack.as_stack(), i) as *mut _)) in next_back()