1 2 3 4 5 6 7 8 9
mod np_core { pub trait Constructable { fn new() -> Self; } pub struct Ref<T> where T: 'static { value: Option<T>, } }
1 2 3 4 5 6 7 8 9
mod np_core { pub trait Constructable { fn new() -> Self; } pub struct Ref<T> where T: 'static { value: Option<T>, } }