1 2 3 4 5 6
pub use cpp_oop_macros::gen_oop; pub trait CastPtr<Input> { fn cast_const(input: *const Input) -> *const Self; fn cast_mut(input: *mut Input) -> *mut Self; }