Lines Matching refs:data
37 data: UnsafeCell<T>, field
43 data: *const T, field
52 data: *const T, field
60 data: *mut T, field
71 pub const fn new(data: T) -> Self { in new()
74 data: UnsafeCell::new(data), in new()
82 let RwLock { data, .. } = self; in into_inner()
83 return data.into_inner(); in into_inner()
91 return self.data.get(); in as_mut_ptr()
142 data: unsafe { &*self.data.get() }, in inner_try_read()
199 data: unsafe { &mut *self.data.get() }, in inner_try_write()
238 data: unsafe { &mut *self.data.get() }, in inner_try_upgradeable_read()
277 unsafe { &mut *self.data.get() } in get_mut()
289 fn from(data: T) -> Self { in from()
290 return Self::new(data); in from()
307 return unsafe { &*this.data }; in leak()
330 data: unsafe { &mut *inner.data.get() }, in try_upgrade()
366 data: unsafe { &*inner.data.get() }, in downgrade()
384 unsafe { &*this.data } in leak()
402 return unsafe { &*this.data }; in leak()
419 data: unsafe { &*inner.data.get() }, in downgrade()
441 data: unsafe { &*inner.data.get() }, in downgrade_to_upgradeable()
450 return unsafe { &*self.data }; in deref()
458 return unsafe { &*self.data }; in deref()
466 return unsafe { &*self.data }; in deref()
472 return unsafe { &mut *self.data }; in deref_mut()