pub fn merge(&self, other: &Self) -> MergeResult {
        if self.is_contiguous(other) {
            // SAFE - the line above checks that the regions are contiguous
            MergeResult::Contiguous(unsafe { self.merge_unsafe(other) })
        } else {
            MergeResult::NonContiguous
        }
    }
/// Attempt to merge this region with another.
Attempt to merge this region with another.
Attempt to merge this region with another .
pub fn merge(&self, other: &Self) -> MergeResult {
        if self.is_contiguous(other) {
            // SAFE - the line above checks that the regions are contiguous
            MergeResult::Contiguous(unsafe { self.merge_unsafe(other) })
        } else {
            MergeResult::NonContiguous
        }
    }
pub fn merge ( & self , other : & Self ) -> MergeResult { if self . is_contiguous ( other ) { // SAFE - the line above checks that the regions are contiguous MergeResult :: Contiguous ( unsafe { self . merge_unsafe ( other ) } ) } else { MergeResult :: NonContiguous } }
Attempt to merge this region with another.
Attempt to merge this region with another .
&self
other
&Self