Searched refs:DefaultPointerOps (Results 1 – 3 of 3) sorted by relevance
46 pub struct DefaultPointerOps<Pointer>(PhantomData<Pointer>); struct48 impl<Pointer> DefaultPointerOps<Pointer> { impl51 pub const fn new() -> DefaultPointerOps<Pointer> { in new()52 DefaultPointerOps(PhantomData) in new()56 impl<Pointer> Clone for DefaultPointerOps<Pointer> { implementation63 impl<Pointer> Copy for DefaultPointerOps<Pointer> {} implementation65 impl<Pointer> Default for DefaultPointerOps<Pointer> { implementation72 unsafe impl<'a, T: ?Sized> PointerOps for DefaultPointerOps<&'a T> { implementation87 unsafe impl<T: ?Sized> PointerOps for DefaultPointerOps<UnsafeRef<T>> { implementation103 unsafe impl<T: ?Sized> PointerOps for DefaultPointerOps<Box<T>> { implementation[all …]
174 pointer_ops: $crate::DefaultPointerOps<$pointer>,195 pointer_ops: $crate::DefaultPointerOps::<$pointer>::new(),205 type PointerOps = $crate::DefaultPointerOps<$pointer>;
297 pub use crate::pointer_ops::{DefaultPointerOps, PointerOps};