Extracted NodeRef

This commit is contained in:
Andrew Golovashevich 2026-01-01 16:48:18 +03:00
parent ff14611b3b
commit bc1da406e6
6 changed files with 24 additions and 2 deletions

2
.cargo/config.toml Normal file
View File

@ -0,0 +1,2 @@
[registries]
landgrafhomyak = { index = "sparse+https://cargo.landgrafhomyak.ru/" }

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/.idea/
Cargo.lock
target/

10
Cargo.toml Normal file
View File

@ -0,0 +1,10 @@
[package]
name = "linked-structs-core-0"
version = "0.0.0"
edition = "2024"
[dependencies]
[lints]
rust = { nonstandard_style = "allow", unsafe_op_in_unsafe_fn = "allow" }

View File

@ -1,2 +0,0 @@
# linked-structs-core-0.rs

4
src/lib.rs Normal file
View File

@ -0,0 +1,4 @@
mod node_ref;
// mod links_offset;
pub use node_ref::*;

5
src/node_ref.rs Normal file
View File

@ -0,0 +1,5 @@
pub trait LinkedStructNodeRef: Sized + Clone {}
pub trait LinkedStructNodeRefTypeProvider {
type NodeRef: LinkedStructNodeRef;
}