Extracted NodeRef
This commit is contained in:
parent
ff14611b3b
commit
bc1da406e6
2
.cargo/config.toml
Normal file
2
.cargo/config.toml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[registries]
|
||||||
|
landgrafhomyak = { index = "sparse+https://cargo.landgrafhomyak.ru/" }
|
||||||
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
/.idea/
|
||||||
|
Cargo.lock
|
||||||
|
target/
|
||||||
10
Cargo.toml
Normal file
10
Cargo.toml
Normal 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" }
|
||||||
|
|
||||||
4
src/lib.rs
Normal file
4
src/lib.rs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
mod node_ref;
|
||||||
|
// mod links_offset;
|
||||||
|
|
||||||
|
pub use node_ref::*;
|
||||||
5
src/node_ref.rs
Normal file
5
src/node_ref.rs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
pub trait LinkedStructNodeRef: Sized + Clone {}
|
||||||
|
|
||||||
|
pub trait LinkedStructNodeRefTypeProvider {
|
||||||
|
type NodeRef: LinkedStructNodeRef;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user