pub(crate) fn data_drop(&mut self, data_index: DataIndex) {
        if let Some(index) = self.module.passive_data_map.get(&data_index) {
            self.dropped_data.insert(DataIndex::new(*index));
        }

        // Note that we don't check that we actually removed a segment because
        // dropping a non-passive segment is a no-op (not a trap).
    }
/// Drop the given data segment, truncating its length to zero.
Drop the given data segment, truncating its length to zero.
Drop the given data segment truncating its length to zero .
pub(crate) fn data_drop(&mut self, data_index: DataIndex) {
        if let Some(index) = self.module.passive_data_map.get(&data_index) {
            self.dropped_data.insert(DataIndex::new(*index));
        }
        // Note that we don't check that we actually removed a segment because
        // dropping a non-passive segment is a no-op (not a trap).
    }
pub ( crate ) fn data_drop ( & mut self , data_index : DataIndex ) { if let Some ( index ) = self . module . passive_data_map . get ( & data_index ) { self . dropped_data . insert ( DataIndex :: new ( * index ) ) ; } // Note that we don't check that we actually removed a segment because // dropping a non-passive segment is a no-op (not a trap). }
Drop the given data segment, truncating its length to zero.
Drop the given data segment truncating its length to zero .
&mut self
data_index
DataIndex
&mut self
data_index
DataIndex