pub fn pop_back(& mut self) -> Option<u8> {
        if self.is_empty() {
            Option::None
        }
        else {
            let newlen = self.mylen - 1;
            let oldbuf = self.buf;
            let res = oldbuf >> (newlen << 3);
            self.mylen = newlen;
            self.buf = oldbuf - res << (newlen << 3);
            Option::Some(res as u8)
        }
    }
/// Removes the last element and return it.
/// 'None' is returned if buffer is empty.

Removes the last element and return it.
'None' is returned if buffer is empty.
Removes the last element and return it . ' None ' is returned if buffer is empty .
pub fn pop_back(& mut self) -> Option<u8> {
        if self.is_empty() {
            Option::None
        }
        else {
            let newlen = self.mylen - 1;
            let oldbuf = self.buf;
            let res = oldbuf >> (newlen << 3);
            self.mylen = newlen;
            self.buf = oldbuf - res << (newlen << 3);
            Option::Some(res as u8)
        }
    }
pub fn pop_back ( & mut self ) -> Option < u8 > { if self . is_empty ( ) { Option :: None } else { let newlen = self . mylen - 1 ; let oldbuf = self . buf ; let res = oldbuf >> ( newlen << 3 ) ; self . mylen = newlen ; self . buf = oldbuf - res << ( newlen << 3 ) ; Option :: Some ( res as u8 ) } }
Removes the last element and return it.
Removes the last element and return it .
& mut self
& mut self