RMatchIndices — 오른쪽부터 매치 위치와 함께 순회
RMatchIndices — 오른쪽부터 매치 위치와 함께 순회
RMatchIndices는 rmatch_indices 메서드로 생성되는 반복자예요. 문자열을 오른쪽에서부터 시작해 패턴과 일치하는 부분의 시작 인덱스와 그 부분을 함께 순회해요.
출처: Rust 공식 문서
본문
pub struct RMatchIndices<'a, P>(/* private fields */)
where
P: Pattern;
이 반복자는 Clone, Debug, DoubleEndedIterator, FusedIterator, Iterator, Send, Sync 등을 구현해요.