fn merge(&self, other: &Self) -> DataSegment {
        let gap = self.gap(other);

        DataSegment {
            offset: self.offset,
            len: self.len + gap + other.len,
            ..*self
        }
    }
/// Merge two consecutive data segments.
///
/// `self` must be in front of `other` and they must not overlap with each
/// other.
Merge two consecutive data segments.
`self` must be in front of `other` and they must not overlap with each
other.
Merge two consecutive data segments . ` self ` must be in front of ` other ` and they must not overlap with each other .
fn merge(&self, other: &Self) -> DataSegment {
        let gap = self.gap(other);
        DataSegment {
            offset: self.offset,
            len: self.len + gap + other.len,
            ..*self
        }
    }
fn merge ( & self , other : & Self ) -> DataSegment { let gap = self . gap ( other ) ; DataSegment { offset : self . offset , len : self . len + gap + other . len , .. * self } }
Merge two consecutive data segments.
Merge two consecutive data segments .
&self
other
&Self
&self
other
&Self