Rust implementation of Drops