• Home
  • Raw
  • Download

Lines Matching refs:DefaultPointerOps

46 pub struct DefaultPointerOps<Pointer>(PhantomData<Pointer>);  struct
48 impl<Pointer> DefaultPointerOps<Pointer> { implementation
51 pub const fn new() -> DefaultPointerOps<Pointer> { in new()
52 DefaultPointerOps(PhantomData) in new()
56 impl<Pointer> Clone for DefaultPointerOps<Pointer> { implementation
63 impl<Pointer> Copy for DefaultPointerOps<Pointer> {} implementation
65 impl<Pointer> Default for DefaultPointerOps<Pointer> { implementation
72 unsafe impl<'a, T: ?Sized> PointerOps for DefaultPointerOps<&'a T> { implementation
87 unsafe impl<T: ?Sized> PointerOps for DefaultPointerOps<UnsafeRef<T>> { implementation
103 unsafe impl<T: ?Sized> PointerOps for DefaultPointerOps<Box<T>> { implementation
119 unsafe impl<T: ?Sized> PointerOps for DefaultPointerOps<Rc<T>> { implementation
135 unsafe impl<T: ?Sized> PointerOps for DefaultPointerOps<Arc<T>> { implementation
191 use super::{DefaultPointerOps, PointerOps};
201 let pointer_ops = DefaultPointerOps::<Box<_>>::new(); in test_box()
215 let pointer_ops = DefaultPointerOps::<Rc<_>>::new(); in test_rc()
229 let pointer_ops = DefaultPointerOps::<Arc<_>>::new(); in test_arc()
243 let pointer_ops = DefaultPointerOps::<Box<_>>::new(); in test_box_unsized()
260 let pointer_ops = DefaultPointerOps::<Rc<_>>::new(); in test_rc_unsized()
277 let pointer_ops = DefaultPointerOps::<Arc<_>>::new(); in test_arc_unsized()
295 let pointer_ops = DefaultPointerOps::<Arc<_>>::new(); in clone_arc_from_raw()
307 let pointer_ops = DefaultPointerOps::<Rc<_>>::new(); in clone_rc_from_raw()