1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
// devela::data::id::handle // //! Defines [`handle!`] macro. // // TODO // - IndexHandleExample // - SpanHandleExample // - GenHandleExample // - ScopedHandleExample // - PageSlotHandleExample use crate::handle; #[cfg(any(test, feature = "_docs_examples"))] handle! { [offset: u8 + crate::NonMaxU8; ] #[doc = crate::_tags!(example uid)] /// An example handle generated by [`handle!`]. #[doc = crate::_doc_meta!{location("data")}] /// /// Demonstrates a minimal span-handle using niche-aware `u8` storage. pub HandleSpanExample; }