pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: https://doc.rust-lang.org/std/pin/../hash/../../std/sync/../../../std/../../std/keyword.in.html

adfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>``).join(""))

in

Keyword in 

Source
Expand description

Iterate over a series of values with for.

The expression immediately following in must implement the IntoIterator trait.

§Literal Examples:

  • for _ in 1..3 {} - Iterate over an exclusive range up to but excluding 3.
  • for _ in 1..=3 {} - Iterate over an inclusive range up to and including 3.

(Read more about range patterns)

The other use of in is with the keyword pub. It allows users to declare an item as visible only within a given scope.

§Literal Example:

  • pub(in crate::outer_mod) fn outer_mod_visible_fn() {} - fn is visible in outer_mod

Starting with the 2018 edition, paths for pub(in path) must start with crate, self or super. The 2015 edition may also use paths starting with :: or modules from the crate root.

For more information, see the Reference.

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy