diff options
Diffstat (limited to 'common/object/src/lib.rs')
| -rw-r--r-- | common/object/src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/object/src/lib.rs b/common/object/src/lib.rs index 831dee7..522b6c1 100644 --- a/common/object/src/lib.rs +++ b/common/object/src/lib.rs @@ -3,12 +3,15 @@ which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2026 metamuffin <metamuffin.org> */ +#![feature(iter_array_chunks)] mod buffer; +mod registry; #[cfg(test)] mod tests; mod value; pub use buffer::*; +pub use registry::*; pub use value::*; use std::marker::PhantomData; @@ -18,7 +21,7 @@ use std::marker::PhantomData; pub struct Tag(pub u32); pub struct TypedTag<T>(pub Tag, pub PhantomData<T>); -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] pub struct Object<'a> { tags: &'a [u32], offsets: &'a [u32], |