6 lines
123 B
Rust
6 lines
123 B
Rust
pub unsafe trait Dyn<T: Sized>: Drop + Sized {
|
|
fn getRef<'s>(&'s self) -> &'s mut T;
|
|
fn free<'s>(&'s mut self);
|
|
}
|
|
|