(&self)
| 267 | } |
| 268 | |
| 269 | pub fn as_vector(&self) -> Vector<u8> { |
| 270 | let mut result = Vector::new(); |
| 271 | for char in self.into_iter() { |
| 272 | result.push(char); |
| 273 | } |
| 274 | return result; |
| 275 | } |
| 276 | |
| 277 | /// Returns an iterator of this Str instance. |
| 278 | pub fn into_iter(&self) -> StrIter { |