| 1 | use craterust-analyzer cargo ab_glyph 0.2.32 crate/::GlyphIdrust-analyzer cargo ab_glyph 0.2.32 glyph/GlyphId#; |
| 2 | use allocrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc crate/::boxedrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/::Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#; |
| 3 | use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::{fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/, iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/}; |
| 4 | |
| 5 | pub struct CodepointIdIterrust-analyzer cargo ab_glyph 0.2.32 codepoint_ids/CodepointIdIter#<'a> { |
| 6 | pub(craterust-analyzer cargo ab_glyph 0.2.32 crate/) innerrust-analyzer cargo ab_glyph 0.2.32 codepoint_ids/CodepointIdIter#inner.: Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<dyn Iteratorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#<Itemrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#Item# = (GlyphIdrust-analyzer cargo ab_glyph 0.2.32 glyph/GlyphId#, char)> + 'a>, |
| 7 | } |
| 8 | |
| 9 | impl Iteratorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator# for CodepointIdIterrust-analyzer cargo ab_glyph 0.2.32 codepoint_ids/CodepointIdIter#<'_> { |
| 10 | type Itemrust-analyzer cargo ab_glyph 0.2.32 codepoint_ids/impl#[`CodepointIdIter<'_>`][Iterator]Item# = (GlyphIdrust-analyzer cargo ab_glyph 0.2.32 glyph/GlyphId#, char); |
| 11 | |
| 12 | #[inline] |
| 13 | fn nextrust-analyzer cargo ab_glyph 0.2.32 codepoint_ids/impl#[`CodepointIdIter<'_>`][Iterator]next().(&mut self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Selfrust-analyzer cargo ab_glyph 0.2.32 codepoint_ids/impl#[`CodepointIdIter<'_>`][Iterator]::Itemrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#Item#> { |
| 14 | self.innerrust-analyzer cargo ab_glyph 0.2.32 codepoint_ids/CodepointIdIter#inner..nextrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/iter/impl#[`Box<I, A>`][Iterator]next().() |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | impl iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/::FusedIteratorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/marker/FusedIterator# for CodepointIdIterrust-analyzer cargo ab_glyph 0.2.32 codepoint_ids/CodepointIdIter#<'_> {} |
| 19 | |
| 20 | impl fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/::Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Debug# for CodepointIdIterrust-analyzer cargo ab_glyph 0.2.32 codepoint_ids/CodepointIdIter#<'_> { |
| 21 | fn fmtrust-analyzer cargo ab_glyph 0.2.32 codepoint_ids/impl#[`CodepointIdIter<'_>`][Debug]fmt().(&self, f: &mut fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#<'_>) -> fmtrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 22 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "CodepointIdIter") |
| 23 | } |
| 24 | } |