Home
last modified time | relevance | path

Searched refs:DefaultPointerOps (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/intrusive-collections/src/
Dpointer_ops.rs46 pub struct DefaultPointerOps<Pointer>(PhantomData<Pointer>); struct
48 impl<Pointer> DefaultPointerOps<Pointer> { impl
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
[all …]
Dadapter.rs174 pointer_ops: $crate::DefaultPointerOps<$pointer>,
195 pointer_ops: $crate::DefaultPointerOps::<$pointer>::new(),
205 type PointerOps = $crate::DefaultPointerOps<$pointer>;
Dlib.rs297 pub use crate::pointer_ops::{DefaultPointerOps, PointerOps};