RepeatWith

RepeatWith (무한 재생성 이터레이터 (struct))

클로저를 계속 호출해 요소를 무한히 만드는 이터레이터예요.

출처: Rust 공식 문서

본문

클로저를 계속 호출해 요소를 무한히 만들어내는 이터레이터예요. iter::repeat_with() 함수로 만들어져요.

pub struct RepeatWith<F> { /* private fields */ }

더 알아보기 (Learn more)

Rust 공식 문서