Trait lrs::ops::Drop

Objects with a destructor.

Syntax

trait Drop {
    /* Required methods */
    fn drop(&mut self) -> ()
}

Methods

ReceiverNameDescription
&mut selfdrop

The destructor which will be called when the object is dropped.