Skip to main content

Using Iterators

  • Chapter
  • First Online:
Beginning Rust
  • 2852 Accesses

Abstract

We already saw that Rust has both static strings and dynamic strings, and that both types share the same character coding, which is UTF-8. Such coding uses sequences of one to six bytes to represent each Unicode character, and so a string is not simply an array of characters, but it is an array of bytes that represents a sequence of characters.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Carlo Milanesi

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Milanesi, C. (2018). Using Iterators. In: Beginning Rust. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3468-6_16

Download citation

Publish with us

Policies and ethics