Searched refs:as_ref (Results 1 – 8 of 8) sorted by relevance
267 unsafe { &self.ptr.as_ref().data } in deref()272 fn as_ref(&self) -> &T { in as_ref() method282 unsafe { bindings::refcount_inc(self.ptr.as_ref().refcount.get()) }; in clone()295 let refcount = unsafe { self.ptr.as_ref() }.refcount.get(); in drop()435 unsafe { &self.inner.as_ref().data } in deref()
185 &self.0.as_ref().unwrap().0 in deref()362 unsafe { self.ptr.as_ref() } in deref()
273 fn as_ref(&self) -> &BStr { in as_ref() method
68 unsafe { self.vec.as_ref().allocator() } in allocator()143 fn as_ref(&self) -> &[T] { in as_ref() method
175 fn as_ref(&self) -> &[T] { in as_ref() method
3340 fn as_ref(&self) -> &Vec<T, A> { in as_ref() method3354 fn as_ref(&self) -> &[T] { in as_ref() method
176 let mut modinfo = ModInfoBuilder::new(info.name.as_ref()); in module()
2076 fn as_ref(&self) -> &T { in as_ref() method