Lines Matching refs:as_ptr
463 NonNull::new(best.as_ptr()).map(|current| {
484 NonNull::new(best.as_ptr()).map(|current| {
843 let this = unsafe { container_of!(node.as_ptr(), Node<K, V>, links) };
876 Direction::Prev => bindings::rb_prev(self.current.as_ptr()),
877 Direction::Next => bindings::rb_next(self.current.as_ptr()),
923 let this = unsafe { container_of!(self.current.as_ptr(), Node<K, V>, links) };
953 let neighbor = neighbor.as_ptr();
1028 Direction::Prev => bindings::rb_prev(self.current.as_ptr()),
1029 Direction::Next => bindings::rb_next(self.current.as_ptr()),
1065 let this = unsafe { container_of!(node.as_ptr(), Node<K, V>, links) };