pub fn substring(&self, start: usize, end: usize) -> Self {
        let new_start = self.start + start;
        let new_end = self.start + end;

        let full_content = self.content.clone();
        Self {
            content: full_content,
            chars_content: self.chars_content.clone(),
            start: new_start,
            end: new_end,
        }
    }
/// The result substring contains an atomic RC to the same full Vec<u8> as the caller's content.  
The result substring contains an atomic RC to the same full Vec as the caller's content.
The result substring contains an atomic RC to the same full Vec as the caller ' s content .
pub fn substring(&self, start: usize, end: usize) -> Self {
        let new_start = self.start + start;
        let new_end = self.start + end;
        let full_content = self.content.clone();
        Self {
            content: full_content,
            chars_content: self.chars_content.clone(),
            start: new_start,
            end: new_end,
        }
    }
pub fn substring ( & self , start : usize , end : usize ) -> Self { let new_start = self . start + start ; let new_end = self . start + end ; let full_content = self . content . clone ( ) ; Self { content : full_content , chars_content : self . chars_content . clone ( ) , start : new_start , end : new_end , } }
The result substring contains an atomic RC to the same full Vec<u8> as the caller's content.
The result substring contains an atomic RC to the same full Vec<u8 > as the caller ' s content .
&self
start
usize
end
usize