sources.rs - source
Description: Source of the Rust file `library/core/src/iter/sources.rs`.

#
core/iter/
sources.rs

    1mod empty;
    2mod from_coroutine;
    3mod from_fn;
    4mod generator;
    5mod once;
    6mod once_with;
    7mod repeat;
    8mod repeat_n;
    9mod repeat_with;
    10mod successors;
    11
    12#[stable(feature = "iter_empty", since = "1.2.0")]
    13pub use self::empty::{Empty, empty};
    14#[unstable(
    15    feature = "iter_from_coroutine",
    16    issue = "43122",
    17    reason = "coroutines are unstable"
    18)]
    19pub use self::from_coroutine::{FromCoroutine, from_coroutine};
    20#[stable(feature = "iter_from_fn", since = "1.34.0")]
    21pub use self::from_fn::{FromFn, from_fn};
    22#[unstable(feature = "iter_macro", issue = "142269", reason = "generators are unstable")]
    23pub use self::generator::iter;
    24#[stable(feature = "iter_once", since = "1.2.0")]
    25pub use self::once::{Once, once};
    26#[stable(feature = "iter_once_with", since = "1.43.0")]
    27pub use self::once_with::{OnceWith, once_with};
    28#[stable(feature = "rust1", since = "1.0.0")]
    29pub use self::repeat::{Repeat, repeat};
    30#[stable(feature = "iter_repeat_n", since = "1.82.0")]
    31pub use self::repeat_n::{RepeatN, repeat_n};
    32#[stable(feature = "iterator_repeat_with", since = "1.28.0")]
    33pub use self::repeat_with::{RepeatWith, repeat_with};
    34#[stable(feature = "iter_successors", since = "1.34.0")]
    35pub use self::successors::{Successors, successors};