Commit Graph

19 Commits

Author SHA1 Message Date
80a96c089a split implementation into files 2026-05-07 22:12:20 +03:00
5c5fc00fd1 fix macro refs 2026-05-07 22:11:47 +03:00
b63cf70799 test Any interop 2026-05-07 22:03:40 +03:00
419e5b59b9 add Debug 2026-05-07 22:03:32 +03:00
57de8c826d Send+Sync 2026-05-07 21:51:40 +03:00
81ee71f73a implement ref-level upcast and downcast 2026-05-07 21:51:34 +03:00
f03e554181 import Any 2026-05-07 21:50:17 +03:00
f94950afb9 repr(transparent)
it could be useful in FFI
2026-05-07 21:04:05 +03:00
8004044789 make OwnRef covariant
while it references the memory the value itself is owned, so that’s the right thing
2026-05-07 20:59:14 +03:00
fc57085534 add basic tests 2026-05-07 20:53:58 +03:00
eb18c5ad24 add mut-version to macro 2026-05-07 20:53:49 +03:00
500c9def86 add conversion macros 2026-05-07 20:25:51 +03:00
535bed743d add a safe Option-based version 2026-05-07 20:11:33 +03:00
07ed195069 move to submodule (part 2) 2026-05-07 20:04:13 +03:00
9cc3725a73 move to submodule (part 1) 2026-05-07 20:02:52 +03:00
f95e78f5ad more into_* methods 2026-05-07 19:59:34 +03:00
e0cd965f33 use more NonNull 2026-05-07 19:55:00 +03:00
08c5bbd311 return Result from OwnRef<dyn Any>::take 2026-05-07 18:59:35 +03:00
087017f9e8 a basic owning reference implementation 2026-05-07 18:58:20 +03:00