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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Carlo Milanesi
About this chapter
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
DOI: https://doi.org/10.1007/978-1-4842-3468-6_16
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3467-9
Online ISBN: 978-1-4842-3468-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books