fn drop(&mut self) {
        for peer in self.peers_mut() {
            peer.set_data(None);
        }

        unsafe {
            enet_host_destroy(self.inner);
        }
    }
/// Call the corresponding ENet cleanup-function(s).
Call the corresponding ENet cleanup-function(s).
Call the corresponding ENet cleanup - function ( s ) .
fn drop(&mut self) {
        for peer in self.peers_mut() {
            peer.set_data(None);
        }
        unsafe {
            enet_host_destroy(self.inner);
        }
    }
fn drop ( & mut self ) { for peer in self . peers_mut ( ) { peer . set_data ( None ) ; } unsafe { enet_host_destroy ( self . inner ) ; } }
Call the corresponding ENet cleanup-function(s).
Call the corresponding ENet cleanup - function ( s ) .
&mut self
&mut self