Files
boc/aamos-ledger-rust/target/debug/deps/libutf8_iter-6f20145e2e3e1c24.rmeta
T

103 lines
26 KiB
Plaintext
Raw Normal View History

rust
¡e#rustc 1.96.0 (ac68faa20 2026-05-25)ÁíàÄTËŸ ÜJîÄ)'ß\¥!-3d1337db07d0b3aeÁ¤°ð ¾ä-±($²ï=©Ã-7e98a21bfd32b0edÁtestsÁ,Œ>$>íindicesÁ'aÁó ü size_hintÁ
Ì
 next_backÁ Ìæ as_sliceÁž
reportÁ×Ìæ 
next_fallbackÁ#Ì##ó 'Ì'ŒUtf8DataÁ/tableÁ0  UTF8_DATAÁin_inclusive_range8Á4Ì4æ 449Ì99ó =Ì=Œ Utf8CharsExÁAcharsÁA char_indicesÁDŠDUtf8CharIndicesÁGÌG front_offsetÁGùKÌKƒNÌN×Utf8CharsErrorÁQ
S×VErrorReportingUtf8CharsÁXÌX remainingÁ[Ì[× ^Ì^ƒ Utf8CharsÁaÌaîdÌd×gÌgƒ








!
"
&
)
*
7
8
<
?
@
B
C
E
F
M
P
P
P
T
T
T
W
W
]
]
]
`
f
f
f
i
AØGG»IØJùxAô3ªLGÌ¿c
ùM
ŒM
òPGG»IØJùxAô3ªLG8¿cQQR ½]¼À·ÃpÐì¥ µß¥ ¥ Äc¥ ¿cXXÉZî†M®>RÛ’7ÌØò ùMò ŒMò òPXXÉZî†M®>RÛ’78¿caa¢cî3Þžh±—õÌØý ùMý ŒMý òPaa¢cî3Þžh±—õ8A
KG^XgaNGSQ[XdaG#X9a
G'X=aG*X@aUQVQQD Øb¿cùMŒMòPÐìµßÄcA384Á/23Aaí» G+ɼâ X,t’ Q-R-
FusedIteratorÁl² òP.ü¯ÓOü»LI Provides iteration by `char` over `&[u8]` containing potentially-invalidÁüˆHE UTF-8 such that errors are handled according to the [WHATWG EncodingÁüÑMJ Standard](https://encoding.spec.whatwg.org/#utf-8-decoder) (i.e. the sameÁüŸ)& way as in `String::from_utf8_lossy`).ÁÉúüÍHE The trait `Utf8CharsEx` provides the convenience method `chars()` onÁü–DA byte slices themselves instead of having to use the more verboseÁäÛ `Utf8Chars::new(slice)`.Áøú ```rustÁüˆ  use utf8_iter::Utf8CharsEx;Áü¨ KH let data = b"\xFF\xC2\xE2\xE2\x98\xF0\xF0\x9F\xF0\x9F\x92\xE2\x98\x83";Áüô 30 let from_iter: String = data.chars().collect();Áü¨
1. let from_std = String::from_utf8_lossy(data);ÁüÚ
$! assert_eq!(from_iter, from_std);Á<ÿ
 ```Á/23AaíÙ»ÚG+ÉÙX,ØQ-çR-ËòP.9<?\ˆ  G¢alòP„î&Ì„ü‰
)Ì

úMûM€NÿMƒN
Ž


¨üç
+
j j†
Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙŸ ï

Ì
¼þ
,
¨
Ì$‡üË-k k†
¨Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ¨ Ø
Ìü²*
Ó
Ìüµ4Ì
Mºüþ0Ll l†
Ó
 
Ì$<closure_kind>Á<closure_signature>Á<upvars>ÁŸ GG»IØJùxAô3ªLGüÉ*8mmå
äøÌ
ýüá#ü±+( Creates the iterator from a byte slice.Áè Ì

ÌbytesÁ,ìüï"ü‚A> Views the underlying data as a subslice of the original data.ÁÈúüÐ@= This has the same lifetime as the original slice, and so theÁü•74 iterator can continue to be used while this exists.Á.\Ñn n†
º  ÿ
Ì$€ì—ü¼B? Returns the byte position of the next character, or the lengthÁüƒ=: of the underlying string if there are no more characters.ÁÅú # ExamplesÁàúƒüôàü˜52 let mut chars = "a楽".as_bytes().char_indices();ÁÒúüÚ" assert_eq!(chars.offset(), 0);Áü-* assert_eq!(chars.next(), Some((0, 'a')));Á³úü»" assert_eq!(chars.offset(), 1);Áüâ/, assert_eq!(chars.next(), Some((1, '楽')));Áúüž" assert_eq!(chars.offset(), 4);ÁüÅ# assert_eq!(chars.next(), None);Áƒ.\‡o o†
¨ ¥
ÌT• 4™ XQRœº 3ÿ2ˆ clòPÔ³N„ÓB¤é3̃&üÕ*¥ Åcü† Dpqr  q c cˆ¢cµ
 `£cbufÁ `àB¤GS
rÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
ŸÈŸÈ ÈErrorÁ O˜éBL 
± üÇ$Ìò !"Ìü¸#üˆ+õ¿º ò 
Ìàü "ü¤B? Views the current remaining data in the iterator as a subsliceÁÔë of the original slice.ÁD§s  º  °
!ÌüüClÿt  Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
¥  
"Ì$üÍ"1Ì$$ò %&úMûM&Ò"L…#$Š###Ù/üÂ#:$Å#u  ”/# Ê##
&Ì$Ï#ü™6<Ì((ò )M)ž6üê6?Lí6v  ”/' ÷6'
)Ì$ü6üÄ=28wwÇ üª MüÓ &]ìƒ m̦ œ  //à0ï,âÆÃ^¡$,âÆÃ^¡$0¤ƒ
,‡
//ˆ¨
¨Ôº¼3üüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüTTTTTTTTTTTTTTTT””””””””””””””””¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤üüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüü @üÅ9œÈˆˆˆ