Searched refs:intrusive_adapter (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/intrusive-collections/src/ |
D | adapter.rs | 165 macro_rules! intrusive_adapter { macro 235 intrusive_adapter!(@impl 242 intrusive_adapter!(@find_generic 249 intrusive_adapter!(@find_generic 256 intrusive_adapter!(@impl 261 intrusive_adapter!(@find_if_generic 266 intrusive_adapter!(@find_if_generic 282 intrusive_adapter! {
|
D | singly_linked_list.rs | 991 intrusive_adapter!(ObjAdapter1 = Rc<Obj>: Obj { link1: Link }); 992 intrusive_adapter!(ObjAdapter2 = Rc<Obj>: Obj { link2: Link }); 1307 intrusive_adapter!(ObjAdapter<'a, T> = &'a Obj<'a, T>: Obj<'a, T> {link: Link} where T: 'a); 1331 intrusive_adapter!(ObjAdapter = $ptr<Obj>: Obj { link: Link });
|
D | xor_linked_list.rs | 1428 intrusive_adapter!(ObjAdapter1 = Rc<Obj>: Obj { link1: Link }); 1429 intrusive_adapter!(ObjAdapter2 = Rc<Obj>: Obj { link2: Link }); 1823 intrusive_adapter!(ObjAdapter<'a, T> = &'a Obj<'a, T>: Obj<'a, T> {link: Link} where T: 'a); 1851 intrusive_adapter!(ObjAdapter<'a> = Box<Obj<'a>>: Obj<'a> {link: Link}); 1884 intrusive_adapter!(ObjAdapter = $ptr<Obj>: Obj { link: Link });
|
D | linked_list.rs | 1258 intrusive_adapter!(ObjAdapter1 = Rc<Obj>: Obj { link1: Link }); 1259 intrusive_adapter!(ObjAdapter2 = Rc<Obj>: Obj { link2: Link }); 1618 intrusive_adapter!(ObjAdapter<'a, T> = &'a Obj<'a, T>: Obj<'a, T> {link: Link} where T: 'a); 1642 intrusive_adapter!(ObjAdapter = $ptr<Obj>: Obj { link: Link });
|
D | rbtree.rs | 2095 intrusive_adapter!(ObjAdapter = Rc<Obj>: Obj { link: Link }); 2783 intrusive_adapter!(ObjAdapter<'a, T> = &'a Obj<'a, T>: Obj<'a, T> {link: Link} where T: 'a); 2813 intrusive_adapter!(ObjAdapter = $ptr<Obj>: Obj { link: Link });
|
/external/crosvm/cros_async/src/sync/ |
D | waiter.rs | 15 use intrusive_collections::{intrusive_adapter, DefaultLinkOps, LinkOps}; 279 intrusive_adapter!(pub WaiterAdapter = Arc<Waiter>: Waiter { link: AtomicLink });
|
/external/libchromeos-rs/src/sync/ |
D | waiter.rs | 15 use intrusive_collections::{intrusive_adapter, DefaultLinkOps, LinkOps}; 315 intrusive_adapter!(pub WaiterAdapter = Arc<Waiter>: Waiter { link: AtomicLink });
|
/external/rust/crates/intrusive-collections/ |
D | DESIGN.md | 17 …The `intrusive_adapter!` macro provides a safe and easy way of creating and adapter type. It uses …
|