Files
boc/aamos-ledger-rust/target/debug/deps/libbitflags-e5412d4fc4957378.rmeta
T

1238 lines
214 KiB
Plaintext
Raw Normal View History

rust
5V#rustc 1.96.0 (ac68faa20 2026-05-25)ÁíàÄTËŸ ÜJîÄ)'ß\¥!-3d1337db07d0b3aeÁ¤°ð ¾ä-±($²ï=©Ã-7e98a21bfd32b0edÁ‰@ AsDisplayÁL©»serdeÁŒƒÎŸ,»ŸŒßÎ arbitraryÁLûƬŸÎbytemuckÁDü»æ¤ÙÍŸ»ŸŒÍ__impl_external_bitflags_serdeÁôûŸŒ¢ÍÆL¤'»Æ¬„'ÍæDÑ'»æ¤¶'Í"__impl_external_bitflags_arbitraryÁüà("»Æ¬»(Í!__impl_external_bitflags_bytemuckÁü¥1!»æ¤1example_generatedÁŒÏ’»ñì§’testsÁ,ô’$é’íùIterÁ  innerÁ doneÁæ __private_const_newÁó  IterNamesÁflagsÁidxÁsourceÁ remainingÁæ ""­"š&&&ó IterDefinedNamesÁ**÷*ƒ..æ 111ó IterEqualNamesÁ5¥5ù5´9¥9æ  <¥<<ó parserÁ@@@@@@@ to_writerÁGG
impl WriteÁ@þJJ J @to_writer_truncateÁNNÖ@from_str_truncateÁQ@to_writer_strictÁSSÖ@from_str_strictÁVV @WriteHexÁY write_hexÁZ¨@ParseHexÁ\ parse_hexÁ@^invalid_hex_flagÁ_impl fmt::DisplayÁ^invalid_named_flagÁaé
^
empty_flagÁ@d×traitsÁffffffffff f
f f fttæ tÐ t»tis_namedÁt
is_unnamedÁfFlagsÁ{FLAGSÁ{BitsÁ{emptyÁ{£{ all_namedÁ  {
known_bitsÁ{ unknown_bitsÁ{contains_unknown_bitsÁ{´{ from_bitsÁ{from_bits_truncateÁ{from_bits_retainÁ{ from_nameÁ{ù{
iter_namesÁ{iter_defined_namesÁ{iter_equal_namesÁ{is_emptyÁ{is_allÁ{
intersectsÁ{containsÁ{truncateÁ{insertÁ{removeÁ{toggleÁ{setÁ{clearÁ{ intersectionÁ{C{
differenceÁ{symmetric_differenceÁ{
complementÁfÖ žEMPTYÁžALLÁf PrimitiveÁf impl_bitsÁf PublicFlagsÁ£ê£InternalÁfBitFlagsÁ¦ç¦àf©©ç©àf­fImplementedByBitFlagsMacroÁf __privateÁ°°°œ´´´´bitflagsÁ__impl_bitflagsÁbitflags_matchÁ__bitflags_matchÁ__bitflags_flagÁ__bitflags_expr_safe_attrsÁ__bitflags_item_safe_attrsÁ__bitflags_flag_nameÁÐ Ã__declare_public_bitflagsÁÃ__impl_public_bitflags_forwardÁÃ__impl_public_bitflagsÁÃ__impl_public_bitflags_iterÁÃ__impl_public_bitflags_opsÁÃ__impl_public_bitflags_constsÁåÊ__declare_internal_bitflagsÁÊ__impl_internal_bitflagsÁ©ÍœÍ__impl_external_bitflagsÁÍœÍÿ͹@
ParseErrorÁÓ
Óˆ@Ö×@ParseErrorKindÁØ EmptyFlagÁÙ
ØInvalidNamedFlagÁÛgotÁØInvalidHexFlagÁÝ÷@ß×fFlagÁááÐ á»fåå×fèÓèàfëÓëàfî¾
ï fñ¾
ò fô˜
õ¨f ÷˜
ø¨f
f f üÓüàf
ÿÓÿàf¾
ƒ f¾
 fˆ˜
¨f˜
Œ¨fffÓàfÓàf¾
 f¾
š fœ˜
¨fŸ˜
 ¨fff¤Ó¤àf§Ó§àfª¾
« f­¾
® f °˜
±¨f!³˜
´¨f"f#f$¸Ó¸àf%»Ó»àf&¾¾
¿ f'Á¾
 f(Ę
Ũf)ǘ
Ȩf*f+f,ÌÓÌàf-ÏÓÏàf.Ò¾
Ó f/Õ¾
Ö f0ؘ
Ù¨f1Û˜
ܨf2f3

!
%
)
4
;
?
G
J
N
Q
S
V
Z
]
e
e
e
w
x
y
z
ƒ



Š

Œ
Ž









˜
×
×
×
à
à
à
ç
ç
ç
ï
ò
õ
ø
ƒ


Œ

š

 
«
®
±
´
¿
Â
Å
È
Ó
Ö
Ù
Ü
Y\{ž¡£¦¯ùM  ç
ù5ÞÍq2§3ùMà÷ƒš£P|¸Û"ùM**î,÷-ƒýrµeÔVaÛ"ùM55Å7ù8´ò¶6ááÉ쥿cÓÓÔÕˆ@ …¨8/ùãà¿cØÙÚÉÛßÜ÷@ÝÞ÷@f™Æ¼
eÄc¹$¿cáá«ãÐ fä»fq $Û"žž\˜&\¢&Y˜&Y¢&¡¢&¡˜&žž\ä&\î&Yä&Yî&¡î&¡ä&žž\°'\º'Y°'Yº'¡º'¡°'žž\ü'\†(Yü'Y†(¡†(¡ü'žž\È(\Ò(YÈ(YÒ(¡Ò(¡È(žž\”)\ž)Y”)Yž)¡ž)¡”)¦Û"¯Û" &1*<ÓߨåádÓèëüÿ¤§¸»ÌÏîñª­¾ÁÒÕô÷ˆœŸ°³ÄÇØÛúûŽ¢£·ÊËÞß©­ùM¥¿cÄcž \ <Y <¡ <¦<¯¬Ç
!Û"$ü­S  Û"üþˆ§" Û",è"÷8Ó,Ÿüá8ôá
$Û",€4‡L3üÇv  Û",­Ãüàã§"$¸ 
Ö%,Û"Û"è"¤÷%)š-e€.ÛåÐÖÚàäê
&$€.O ˜1  Û"/ ¼60>§";ò.6Û"5Û"4è"×ò.ÄÛ"ÅÛ"Æ÷qvš{´è"Œ¾
ûMè"0(¼¸HLÛ Û"Û" Û¼Û" ú  Û¼Û"„±
 è"´·


%Û" .
ü·
!

Û"D
+
  Û¼Û"ü³
¤ˆ  è"Û"܈ $ 
Û" 3  4 üô
0ϙ

Û" F
 $üï
6 Û¼Û"
¡    


ü…œìÞÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙÛ"”› §"LÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ¸3þ è"ž)Û"«Óû·-, è"LÛ"vÛ"}®·-Ïž)>»flagÁ
=Ã2Ç4ñ4næ5þ’6Ú$­æ5ü“!œ“6<æ5üÊ!œÊ’6=ü¿· Û"|Û"ò. ù”)ü õüì!è"·-Û"üý8)Û"Àý8î÷)X¥|Û"ò.æ5c6Cæ5%6Û"üÀg Û" ð”)­$üÙÔè"ò.Û"4•Û"L ÷"š&Z
Lÿ4–å Û"â”) ¦ô$òè"îò.ìÛ"êÛ"èò.±Û"¥Û"÷š#XÛ"ˆ%üË=·-æê8 ,ü’® ò.”)Ä©´
üsÖ%”)C6l´0Û Ö%t†Û"̆D•ñ4)T•$ Û¼¸3”) æ”)) ”),”)T”)”)\$ 
wÛ"$
´›
Ø|
B  ' 

xÛ"  œô$æ5 ?  4\™Û"Ì®œ®’6 
ü™/
Û"UE
ü¥#1
Û"Ìöœö’6 üÜ4
Û"UEüë%1Û"ÌŜŒ6 ü¯0
Û"VEü¾!\ÿ$„ òC$ÿ4„ ÌŒ œŒ ’6 üþ( üù. Û¼¸3ö Û¼¸3Ô  üßõ )üÂþüé×ë7”õ¸8Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙŽBy”)ž)MŽBC·-8”)ÝOº3ý8·-1±·-óÛ"æO·-Û"í Û"3Û"%¸3Žº3ßÛ"Áò. «8þ´ nºAjñ4óòC>DÔDèæ5Ã’6ÜEs’6%ÕF6·ÏG˜òCm’6Mü¾#M *Û"Dä#|Û"ò. ÿ#”)$0ü˜#yº#$¯#Q|Û"ò.ü¢%T¹%
ò.DÈ%”)Ĺ%Ä%ºA
:-lÄ%'T¬%
$±%ÛŽBlà%”) ì%”)) ”),”)T”)”)|¥&Dª&
yÛ"$¥&Tª&+\Ô&$Ù&òC$Ô& 4Ù&dõ&,ú&ÔD$õ& <ú&œõ&$'æ5 :  4'üá&(œá&6 :

üÓ&7  
üÎ&= Û¼¸3¸' $®' Û¼¸3" +üï$É4üÒ%Òë7”…% º#L÷$ÝI1”)Mž)ŽBÑJõ¸3ͺ3fÛ"þý8)·-Wò.^g«8W¯ºA®÷OîòC¹ÔDæ5y’6[üÜ)"üÜ) 
¬$ d*$˜*
¬$,*4˜*üÂ)g 5¬$¯*;ü“)œø#$³) ¬$,¥)**î,÷-ƒýrµeÔV›a¬$Ö¬$}½»TyŽT±TàTÕ+œUœÕ+4à+
ÃNœU0Dà+˜'Õ+
ÊL œUF$(ø'Ç+APU
ûMáVfnr~ Ì+ Ûº3¬$º3 Ï+
ÛøW¬$ ú+
Dú+$ü+±T$

4ü+$Ò, Û¼º3Ü, E 
L†,×U¬ú+
·ß×U×U 6  
*0 
<©, Û¼º3 'È,

¥)
ü”+È?ºÁÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙº3”ª+ ø#Lœ+áV]áVáV­áVuÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙøW áVÍž) º3G¬$0¦ ×U×UU7¿\ÞÅù&¹œ ±
n²V{ÛVW¨W]±Tƒ Y#¬$Ϭ$Õ¬$Û4-
-
”õ 
ŒÛ".
H(ž

ÊL¸8*)"&ø(
Ÿ? NS
ûM¸8 d)mq
}
h$
 Û¸3º3
    )


º3¼Ê


ëbÖB8 („Ñ
À)Ê

ž$Ö¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
ªKŸÈŸÈ ÈErrorÁ O˜éBLÈ

(ž¢
® À

¡$™aÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
ˆê)?ÈXM´­êaQÜb/(P
,ÿ
 ´Ž L• á`% 
(|• ¸+Ž “a?( ,O)O
 ÓbÜb0(q$ „‘ L– Ç4$)\– ¼‘  æ59) 


Ÿý8ý8
ܱ

¸ßý8ý8RI)*0
"


,€
!
º3¼ï
 á` 9!/)„ö À-ï
“a=)
",
">.†
ÓbÜb1)`
%$­
&
º3´œ

á`%9&/$)
¸
“a$=#)
'#,
'
*
-

+ܽ


Zý8ç`*K+B))ŒÇ

ÓbÈÜb2)¿à1½
“a)m( )
,(,
,"!>
Ób.Üb3)`œæ
Ö¿ªKêa^ªK ú
#.-'+â%)3&.C-',û
)n.ü–åŠ''¨*¸-*-$
$Þ%5%z%GüÌ ¯üæ •u|¸¿ÆÄÊ
ž¥ ¬¼Ž  ü ú)
07
Äï 4
;B
¼œ
ë
òù
ä½
.™a´×·-ç`éè"¸8¸8¸8ë7š ¸8¥ž)zº3 •¢˜¢™¢lš¢ˆ›¢œ¢[¢ˆe0<#˜ÜbªKÛ™a ç`Fº3?ž)9Žp^™aîp«ž)"ý8L… ·-ê8 ý8ÔÉqÎý8ÖwŽp™aEîprº3kž)ðŽpˆ™aºîpçº3àž)Žpë™aMÉqç`~ž)Ȉ÷ÃwriterÁÎfirstÁÂ
ùÝùb
Ð Ø  Ž |YÜb¹ÁkªKŽ i }Üb¹È ªKšc
Ž ý­Üb¹Ñ¿ªKŽ ÑÜb¹ØãªKŽ ÍõÜb¹ßªK)Ÿý8ý8Ÿ^ Ú^W ¥_] ë7
á`c
“a6
Ób<
á`Æ“a ë7·
Ób¬Ç4-æ5½f»á`A“aÓb#á` “a|‡jÓbˆ“aÉÓbÏè"Kë7 è"Wë7 è"cç`iç`oç`u*„›(
(

~Û"1d$‡
ª},"4‡¼D>"%d­(
„ª Ö¿Û"¹$Ð%„Ó
Š}ß|"€3Ó
ÊLüÏüÏýÏSplitÁ€Ðˆ¯v ÁÀ³UEÝk"^bø3Çç{
Š
ûMžy
   "©­  ¹ 
â Ûº3·w 

"(
'„´ Ö¿Û"¹$' Å(
Æ!D
"'Äø´ø
c"ìô Ö¿Û"¹$ø%¼Ä
´}º3
º3 "”É9
Ûº3Ô…¤…
]ý8"%ü¨& LÛ"º'¹$¹$ º3ü…J< 
ç[ý8¹$¹$LÛ"º'°~½~s"ü /ø4…K 
ž$Ö¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
ý8¹$´"tx
ü…Klý8Ìßœß6&" [Ö¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
ªc¹$; p
¡$Ö¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
Û"¹$ù€Ö'"°”«
ŠÛ"
$¸"&üÉ' 
 MÛ"º'ªK¹$½~ ü«F
ÈTÛ"¹$MÛ"º'–ƒ½~j"ü¾3ø6«G 
ž$àb"$(!4!
ü«G#lÛ"#ü°Ì"[ù€
Ú"+("§d‡%\&ü‡ 4”
Û"%9&/$)"œ”(!;#ü´ X h( $Æ %s
%´JYü—¯˜üîÀüžüܦüê˜\cj®
y ½)à¬Þº3Û"´Fº3xÛ"#žy¦žyëžyÎZ¾ žyÉž)bº3º3|¹$MÛ"ÎZž)Úº3Е¢˜¢™¢lš¢ˆ›¢œ¢[¢ˆe0<#˜ù€ý8b¨³¨ é~ÿ¿~ž)¹ù€Âý8•¢˜¢™¢lš¢ˆ›¢œ¢[¢ˆe0<#˜ù€Û"àç7NŃ-¿~5ž)Nù€WÛ"ŽªK²K7Û"0Û"H inputÁñ parsed_flagsÁ
ù«8Ï «8Ì
parsed_flagÁË«8Ž´Ž ¹X
Ž ( "¹c#~•w9 ·w Dä
Üxo
˜y8
Ÿz>
·wY Dݽ|¬„}kõ}Ú~¢¢_’6¸ÚlÚ‚¼¹ƒdÿƒ$Ú+É…iÛ"R Û"X ¿~ü¬"ä¬
_º3:#ÎLƒ¹$«é~˜¹$ ©º3}¿~°«8ý¿~ÉêŽ
_ref__flagÁ¿~üÌ$ôÌ
aº3:#ðMݹ$ËŃóº3u¿~«8¿~ªìŽ ü‘$ æ5ü’#¬’
ˆÛ"C%y
ü‡7L‡
GÛ"ç`ÃC+ ¿Àü‡¹8HN1™a´Í·-ç`·-ZÛ"ý8Aç`í¡÷:üq>æ5yŠ’Yß’
Û"ßÛ"äç`é ¤Ù
JÛ"$¨8Ùÿƒ> ,>¬Ù
lÛ"
!äÙæ5C  [ù€°Ú +ÉüÃ3¬ÃŠ’s  üÀ7 Ö¿Û"¹$ øù
üÔ¥Q¾ÄÊ" ଇº3Û"·ý8·-QÛ"Y´Š¦àÙž)!ù€*Û"óŠWŽ K ¹©
¸†•*ÿƒæ5šÚŠ’LÛ"Û"$³!
”Ì!TÒ!Ÿ^,Ì!dÒ!Lõ!H:õ!Ú^$ ø:ä!Ÿ9 HM¥_ Xae
q
ô $é! Û¸3º3,"   :#4¡",²"
º3¼¡"L¨"á`9/ „¨"À;¡"“a=

 
, ><¸"Óbô Üb`lÎ",Ö"4å"´å"Lì"á`% $ö"
|ì"¸=å"“a? ,UO
>û"Óbô Übqœ‰# Ö¿ªKêaô ªK #Ó2Bž#
l|üËÓê=
S
%ü£!ûü½!áçîõÄ¡"<C J¼å" ™a´“ ·-ç`L§!è"DÁ!¸8º¸8Ó¸8Êë7ÒìoÚž)µº3`LŽpÕ™aîp4º3-ž)²ŽpF™azîpž)

÷­üq±rù¸ùtÐ ö Ž %ô Üb¹;ô ªKŽ  ô Üb¹B ô ªKÏŸ^Ú^á¥_çë7)á`ù“aÕÓbÛá`V“a0ë7MÓb<è"§ç`­ë7eè"¹ç`¿ë7wè"Ëç`Ñ%„„&
 T—&
D—&•w,dê&$ð&·w,ê&4ð&¼ê&D÷&D;T÷&%d'
„“' Ö¿Û"¹$ô "„¼',Â'Üx,¼'È'|TÂ'€?¼'˜yK ø?°'ã9
HMŸz
X  ae  q 
ô $´' Ûº3\â'$ç'·w $â'

4ç'dœ,
„™, Ö¿Û"¹$ ª,
«,|¸(D½(D
$¸(T½('Äá(´á(½|ìÝ( Ö¿Û"¹$ô "´ˆ*\*
þ|º3
$ˆ*$™*º3 Œ*;ü¸*:ä¸*êŽäÕ*º3 )ü´*? Ö¿Û"¹$ô "”š+dš+Ú‚
$§+!ü¸+'
 XÛ"º'–ƒ½~üš+FT­+
ÈTÛ"¹$XÛ"º'–ƒ½~ƒcü­+3ø@š+G ÿƒ\".
üš+GlÛ" ) dì+\€, 
üì+ 4ù+É…F<$œù+Aà+[ù€æÚ+ , 
ô " &ç!"A üÁ$ê^n!¡± #V
Rü€&«Šü×'¼üˆ+07>Ó!à¬ò$º3,â$Û"@Ⱥ3÷Û"¥žy-žymžy=ÎZEΈNž))º3Ôº3$Û'I¹$ܹ$Û"\Œ+´Šºà
‘7eÖ¬I¿~Qž)ù€!Û"·ªK[²KÛ"ŒÛ"*õ󊆋Mù'«8© «8Ù
‹¾Ž ­¹G•w·wUD4Üx¿˜yŸz·wöDz½|IÔª êŽÇÚ‚wʬ+ÿƒëÉ…PÚùÛ"ØÛ"ÞÛ"$Ú+¿~ü»+$ô»+ª6ß+Xß¹$º+Ö¬õº3q¿~«8¿~ª}ìŽ(ˆ0 
º3p¦0ñ$  ¿cQV
‡dgl\y0×™a ¹$¥  c cˆ¢cµ
 `£cbufÁ `àB¤GS
ëº3ò†·å  ñ$òĸú±&1¸†·* ·F(Á0$8Þ2
ªKD Lº3, 4º3>
J
†·Œ
ùc ¢ }
´8×1ߪKÒÚº3,4º3> J †·¨º)/}BGP º3]c
êcu{Æ0àœ¢©™aĸ¿í·Èž)к3Ø ªK+º3ëº3;†·D ó¼Pó¼çº3º3÷†·—½ =±K__self_0Á©í¼D
w—½†·[¨ºŒ—½†·Þ¨º€¼¤$¸4üÔ5& Øô ªKüÉ52 Ó €66_üé3˜ü¬4ÕüÇ4º¹$$4é
$4Ò¿,°4ñ$˜«8_flagÁ%÷Ë4ô ªKyÒ¿£$¯7üË8( Øô ªKüÀ84 Ó ù8ú8aüÞ6œü£7×ü¾7¼¹$$”7Ò¿$ø6Ò¿,§7ñ$«8€¿!÷Â7ô ªKsÒ¿Ìô9 Øüé9% Ó :”:cü½9W¹$$Ú9ñ$`( Í º3 î  º3º3&†·@  
º3
Û"& 
2 †·
ûc§¬œ¡otÈ Òçß ™aêŽBñí·ùº3º3ó†·û¿~º3Ó†·Û ·-å·-ìA±OZ¿~†·RÁņ·%²Äx¤Ø áÛ"òvü—[Ö%º3Û"Ð »C¤ áÛ" ë°v®Ö%«º3©Û"§º3}Û"qÐ È»ÌöLº3¬wüêBº3d†ŽB ,]º3[wYº3VŽBT]~\Û"¢xüç;·-ŽB ,^dÛ"u ¡wxu·-rŽBp·-²¡º3¤ÝD(¬Ü÷yü­JŽB_º38DŒ¦¬º3¼µ
¼ºDภð¾ÂyÀ½ŽB»º34º3ÑÚúº3¤¶ D(Ð zü… KŽB, º3 2DnŒº3¢
¢ DÆž É ¤z¢ŸŽBº3º3¬µÕüå)´å
ŒüŸçÐ}ùÐ=~üÈLçÐRŸùÐùÐáÐ Œü
ŸùÐùÐ
|çÐ 
áá«ãÐ fä»f‚q $çД¤
“t—Òt
ÊLÄlÄlçÇlµ ™lÈl
end_or_lenÁ™lÉl_markerÁ™lŒœjSž—Òž{øN˜c¦«
ûM”Ó½ÅÉÕç Û —Ò 
xçÐ 
ü…!´…áÐ& œÝ
çÐ
y  üÑ
™úùÐùÐ · O

,üÅ+
T¬üÍßüèÄçÐùДÓ5”Ói”ÒË”ÓPÛ¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ‚Õž ”Óªž)&‚ÕÎùÐ$ùÐÅùÐa çÐËùЪ truncatedÁÔù
«8) &ÄŸùÐùк|çДÒäÒxŽÓT±Ô[¦ÕKáЄÖû®Ö×

|çДÒü¡#äÒ3ü¡U
£N”ÓçÐî& ‚ÕªKhô àÚÄÝüÖ l\
~çÐ"¤$›„ÖE4›ü¡¢
óN£­£­FilterÁ¦­ù§­ predicateÁä9Jÿ ÃW^—”ÓàÚùÐçÐî&ùЂÕùЪKJ¿ô ìÜü£üˆ;üýÑ´ýáÐÒ! ÓÔ üÜøçÐùÐ4”Üô”Ó#”ÒIùÐ~ÜØ·çÐÀfp|çДÒäÒjÖÚK·Ûñ„ÖÈŽÜ©áÐöçÐÕçÐÛ â
wçÐ*œâD>¤áõ¬à àÚÄ ‚Õ Þnº3Ÿ‚Õ±!ûã߯D¡¦Õ ²„²„Ö<´¬®Ö¬?"ÂŽùЫ ìܨùФ‚Õ ©ùÐÜØÃaccÁ)±,ñ¦Õò„ÖѮֲ„Ö
çÐ"”Ä„ÖEü¶ 
ùøùÐùМJ- ÛÜü‰SƒùÐÜØ,—ùÐ ùÐ¾ÜØöçÐþ,]„ÖBîã"„ÖùÂäÙçЬçв „Öîã”Ñ„Ö@œÐ
—!ùÐ?"üÂ!Âä´A" èéü“VùÐÜØùÐ$ùеùÐãÜØçÐ6g„ÖdîãD„Ö «çÂäàçоçÐÄœå
çÐ+Œü
ŸùÐùÐüå(
¸ßùÐùÐN,ü³`ÜØ ùÐÇùÐÏ€ë ùШ.O¿ŸùÐùÐÎé
®ê³ 

$„!ôë 

Äë 
ˆçÐ=8L—!„—!$¡!„Ö%4¡!$$«!Ä—!
·ßùÐùÐ^3,2LÃ!

 |¾! Û¼çÐ ü”!e$ë! Û¼çÐ$ þ!


ÿ!. ü¢ ÝJ!üÛ ¤ Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙçÐùÐçÐ$ùЀëÐùÐÙÜØò€ë»çÐt´Yõ×ö£ìs„Ö.˜íõçÐSçÐZ\œ#Lœ#î㔜#$¨#„Ö@4¨#Ì•#Âä$•#@#üþ"1´þ"áÐ@  ´#µ#üÄ"qˆçÐ$ï"ùÐ$Ú"ùЫùÐÙÜØ çд._îã4„ÖÂäñáÐÎçЮçд|À&DÅ&D$À&TÅ&&$å& Û¼çÐô XOŠ'
ÊL”Ò\Š'|çДÒ26øOþ& O^c±Ôow{ $'Û‚Õ\§'$¬'ãß$§' 
4¬'$¨( Û¼çв(H
 $¶' œ§'
·ßº3º3
 1  )/  dð',õ'¦Õ$ð'
<õ'œð'$ý'„Ö<4ý'üÙ'+´Ù'áÐ<
üÔ'1 Û¼çÐ
ô ûŠüØ%ÚÇΦïdô%º3$å%ˆ”Ó9”ÓBÖ×K¤ØTž)‚ÕÆO¿~»º3ÿ~wçÐåùÐÜØBÐ ù«8#Ê·|çДÒD=ãôì±ÔóãßAÿöä¦Õ¬„ÖŒáÐn¬°*|°*
çÐ$À*%Ë*üƒ*H  ç
ù5ÞÍq2§3çЄ•*ÜØ,‹* b‰û§Ô‚-¤‚-
!çÐ$—-%¢-ŒüÊ,Xà÷ƒš£‘P|¸çЬâ,ÜØ,Ø, v½ü»ì­.Ü­.
0çÐÐ.üë-e**î,÷-ƒýrµeÔV›açÐä†.L…þŠü×0Ì×0
;çÐ$ñ0&ü0Žü”0h55Å7ù8´ò¶6ááÉìçÐÔ²0ÜØ,¨0 bÿ¨\ß1$ä1„Ö$ß14ä1%Œî1
ŸùÐùÐüß1 ˜íoC!…2üº1K$Ð1ÜØ,Æ1€ë³ùл€ëùК+L±ŸùÐùЄÖù˜í¤
\ñ3Lñ3îã”ñ3$ý3„Ö@4ý3\†4$4„Ö$†44‹4üñ3 ®ÖbA"&\•4$š4„Ö$•4 4š4& üñ3/˜í|M" ¥4¦4 üÇ2ß
$Û2ÜØ,Ñ2€ëëùÐóùÐIÜØ}çÐùÐ>€ëëùÐóOî㽄քÖz®ÖY„Ö,˜íÿçÐÝçÐã\Ã5$È5„Ö$Ã54È5,Ñ5dÑ5$×5„Ö%4×5ÔÃ5Âäo>!%Œá5 
ŸùÐùÐ üÃ5/®êoC" ÷5ø5üì4Œ
$‘5ÜØ,ú4çÐ,5€ëèùÐðùÐTùÐ'ÜØ@€ëâùÐêP¹
SŸùÐùЄֳ„ÖÂäe®êçÐðçÐö \“7$˜7„Ö$“74˜7,¡7d¡7$§7„Ö%4§7Ô“7Âäo>!%,±7
d±7$·7„Ö
% 4·7$ ü“7*˜íK" Â7Ã7ü¾6… $á6ÜØ,Ê6çÐ,Ñ6€ëùÐ ùÐnùÐAÜØZ€ëìùÐôÜØ [¹
^˜„ÖÄ„ÖÂäv„Ö<˜íçÐðçÐö$Þ8\Þ8$ã8„Ö&4ã8üÅ8%ÄÅ8£ì<,½8ñ8'üù7xªK8 çÐL…8çÐùÐºÜØÓ#V„ÖߣìÀçС üŽ:0 $¥:\¥:$ª:„Ö&4ª:üŽ:#´Ž:áÐ= ,¸:
£,²:
šçÐ^?d²:,†:Å:' ½:ü·9Ž Ä:4 ªKØ9ÓLÁ9çÐ,Ì9çÐoçÐùÐIÜØcçÐ|H¹
K¨„ÖŒáÐmבÒçÐçРü”=5 $«=\«=$°=„Ö&4°=ü”=#´”=áÐ= ,Ã=
£T¸=
çÐ^?Œ¸=,Œ=Ð=' È=ü½<“ Ï=4 ªKÞ<ÓLÇ<çÐ,Ò<çÐoçÐùÐIÜØcçÐ|H¹
K¨„ÖŒáÐm•ÒçÐçРü÷>? $Ž?\Ž?$“?„Ö&4“?ü÷>#´÷>áÐ= ,°?
£¤›?
œçÐ^?Ü›?,ï>½?' µ?ü > ¼?4 ªKÁ>ÓLª>çÐ,µ>çÐoçÐùÐIÜØcçÐ|H¹
K¨„ÖŒáÐm­™ÒçÐçÐÂ,ƒA”—A4œA
çÐ$—A,£AlœA”ÈA4ÍA
çÐ$ÈA,ÔAlÍAëAü§@ĪKÒ@ÓL®@çÐ,¹@,Æ@ªK¬ªK+¹
.»3h‹œ꿜¼làB\àB·Û,ØBôB'ü—B]˜ªKªBÓL BçÐC·Û¡çЈ
$—D\—D$œD„Ö%4œD,¥Dd¥D$«D„Ö%4«DÔ—DÂäm>!ü€D2´€DáÐ>  ·D¸D+; üËCmçÐ$ñCçÐ$ÛCçÐ,áCùÐÓùÐ5ÜØNùÐÜØ,A¹
D„Ö{„ÖNÂä/áÐçÐðçÐöçÐüçÐ
$ÓE\ÓE$ØE„Ö%4ØE,áEdáE$çE„Ö%4çEÔÓE®Öm>!ü¼E2´¼EáÐ>  óEôE+; üŽEfšçÐ$­EçÐ$—EçÐ,EùÐÓùÐ5ÜØNùÐÜØ,A¹
D„Ö{„ÖN®Ö/áÐçÐðçÐöçÐüçÐ $ÊH\ÊH$ÏH„Ö%4ÏH,ÙHdÙH$ßH„Ö%4ßHlØH«ç9ÜÊHÂä:!ü³H3´³HáÐ>  ëH ìH+ ;
ü€Hl çÐ$¤HçÐ$ŽHçÐ,”HùÐÓùÐWÜØpùÐùÐ>ÜØWJ¹
Mˆ „Ö¦„Öy«çZÂä?áÐçÐçÐçÐçÐ
$ J\ J$¥J„Ö%4¥J,®Jd®J$´J„Ö%4´JÔ J
¹ûùÐùÐxI,ü‰J2´‰JáÐI  ÀJÁJ+; üÌIuœçÐ$úIçÐ$äIçÐ,êIùÐÞùÐ@ÜØYùÐÜØ7A¹
D„Ö„ÖY¦«:áÐçÐðçÐöçÐüçÐ$èK\èK$íK„Ö%4íKdçK«ç9üÎK&ÄÎK£ì9  ùKúKü¨KRçÐ$¿KçÐ$¶KùФùÐÒÜØê#T„Ö÷«ç×£ì»çÐçС˜&H ½Q ÏΘ&Ð ­Qê˜&¼Z%CÏΘ&u8::MAXÁ¢&ø ñQVH »RÏΘ&¢&ø «R í¢&ÀZ&>ÏΘ&0 ÎW QÞWñQö¨  !   ˜& Q×W
Îbϲ U&S ‚È‚ÈArgumentÁ„È´ÀbökÏ®ÝWj´ £  ˜&”)Â
ÐÕ
«c”)”) 
ù
ç¨. I
ì¨ 
îb¨\ñö¨ ù
ì¨)  ôW õWø ðV…õ¢© ™aX ¥Wϲ( ŒWã´P “W ã´ùäÈäÈ ArgumentsÁæÈtemplateÁ `çÈÀ `üöMõô]TdíͲ:ͲRг”)Zг:ݳl ÷¶xͲÊüqÌÀ¥À±0æ²œŠ´ÌÝ´ºã´}ã´0 –Y S¦YñSö¨  !   ¢& SŸY
ÎbÛ¸ U&S гc k ݳz
ˆŠ´ š
Ÿ¨ùç¨. Iì¨ Ý´éñö¨ ùì¨)  ¼Y ½Yø ¸X…ø.5 ™aX íXÛ¸( ÔXã´P ÛX‚¶޶Ù¸vÙ¸Ž÷¶ˆгhݳš ·£Ù¸¬iüqkÀÐÀÜÏò¸ÆŠ´öÝ´Oã´ã´"ä&)2øÏä&(þ7ä&ÈZLkøÏä&u16::MAXÁî&+(øÏä&î&&5î&ÍZJcøÏä&& UÞWñUö¨  !   ä& U×W
Îbó¾ U&S гc k ݳz
ˆŠ´ š
Ÿ¨ùç¨. Iì¨ Ý´
ñö¨ ùì¨) ±¯Ê®½)0 ™a«ó¾©ã´§‚¶޶ñ¾kñ¾ƒ÷¶}г]ݳ ·˜ñ¾¡üqÀÇÀÓvŠ¿¾Š´îÝ´Gã´Ãã´ÊF W¦YñWö¨  !   î& WŸY
ÎbŸÃ U&S гc k ݳz
ˆŠ´ š
Ÿ¨ùç¨. Iì¨ Ý´-ñö¨ ùì¨) EC^BŒQ)0 ™a?ŸÃ=ã´;‚¶»޶ÃkÃ÷¶}г]ݳ ·˜Ã¡¢üq¥ÀÇÀÓ
¶Ã¾Š´îÝ´Gã´Wã´^°'g p  Ñ°'f u °'ÖZŠ ©  Ñ°'u32::MAXÁº'k h  Ñ°'º'f u º'ÛZŠ £  Ñ°'f  YÞWñYö¨  !   °' Y×W
Îb³É U&S гc k ݳz
ˆŠ´ š
Ÿ¨ùç¨. Iì¨ Ý´M ñö¨ ùì¨) ñ
ï

î
ý
)0 ™aë
³Éé
ã´ç
‚¶Û ޶±Ék±Éƒ÷¶}г]ݳ ·˜±É¡N üqQ ÀÇÀÓ ÊɾдîÝ´Gã´ ã´

 [¦Yñ[ö¨  !   º' [ŸY
ÎbßÍ U&S гc k ݳz
ˆŠ´ š
Ÿ¨ùç¨. Iì¨ Ý´m ñö¨ ùì¨) 
ƒ
ž

 
)0 ™a
ßÍ}
ã´{
‚¶û ޶ÝÍkÝ̓÷¶}г]ݳ ·˜ÝÍ¡â
üqå
ÀÇÀÓJ öÍ¾Š´îÝ´Gã´ ã´ž ü'«´ÈÒü'ª¦¹ü'äZÎíÈÒü'u64::MAXÁ†(³°ÈÒü'†(®©½†(éZÒëÈÒü'® ]ÞWñ]ö¨  !   ü' ]×W
ÎbûÓ U&S гc k ݳz
ˆŠ´ š
Ÿ¨ùç¨. Iì¨ Ý´ñö¨ ùì¨) 97R6±E)0 ™a3ûÓ1ã´/‚¶#޶ùÓkùÓƒ÷¶}г]ݳ ·˜ùÓ¡üqÀÇÀÓþ’Ô¾Š´îÝ´Gã´Kã´RÎ _¦Yñ_ö¨  !   †( _ŸY
Îb§Ø U&S гc k ݳz
ˆŠ´ š
Ÿ¨ùç¨. Iì¨ Ý´µñö¨ ùì¨) ÍËæÊ´Ù)0 ™aǧØÅã´Ã‚¶C޶¥Øk¥Øƒ÷¶}г]ݳ ·˜¥Ø¡*üq-ÀÇÀÓ¾Ø¾Š´îÝ´Gã´ßã´æÈ(ûðÓÈ(úº È($òZ=ðÓÈ( u128::MAXÁÒ(  ðÓÈ(Ò(½Ò($øZ+DðÓÈ( aÞWñaö¨  !   È( a×W
ÎbÔÞ U&S гc k ݳz
ˆŠ´ š
Ÿ¨ùç¨. Iì¨ Ý´îñö¨ ùì¨) «Åž)0 ™aŒÔÞŠã´ˆ‚¶|޶ÒÞkÒÞƒ÷¶}г]ݳ ·˜ÒÞ¡ïüqòÀÇÀÓWëÞ¾Š´îÝ´G㴤㴫' c¦Yñcö¨  !   Ò( cŸY
Îb€ã U&S гc k ݳz
ˆŠ´ š
Ÿ¨ùç¨. Iì¨ Ý´ñ ö¨ ùì¨) &$?#È2)0 ™a €ãã´‚¶œ޶þâkþâƒ÷¶}г]ݳ ·˜þ⡃üqÀÇÀÓë—㾊´îÝ´Gã´8ã´?”)LU—Õ”)KÎZ”),‚[oŽ—Õ”)
usize::MAXÁž)VS—Õ”)ž)QÑ`ž),‰[uŽ—Õ”)Q eÞWñeö¨  !   ”) e×W
Îbžé U&S гc k ݳz
ˆŠ´ š
Ÿ¨ù!ç¨. I!ì¨ Ý´8ñ"ö¨ ù!ì¨) ÜÚõÙÙè)0 ™aÖžéÔã´Ò‚¶Æ޶œékœéƒ÷¶}г]ݳ ·˜œé¡9üq<ÀÇÀÓ¡µé¾Š´îÝ´Gã´îã´õq g¦Yñgö¨  !   ž) gŸY
ÎbÊí U&S гc k ݳz
ˆŠ´ š
Ÿ¨ù#ç¨. I#ì¨ Ý´Xñ$ö¨ ù#ì¨) pnmÜ|)0 ™ajÊíhã´f‚¶æ޶ÈíkÈíƒ÷¶}г]ݳ ·˜Èí¡ÍüqÐÀÇÀÓ5áí¾Š´îÝ´Gã´ã´¬0 ÓÔ%¹$0ñ$7>@f´ÃÊÍíÖ $¶@ž«$¼@á¾ ,Â@{´D±C¦ºÞDÓe»í|ï…¼ƒtÆÃ½˜„ÂÆ¾¯|âÏ¿ÅÔ«ÜÀæÔƒíÁ¤„üªÌõÄËôöÅñ´•!ÆÜìHDzÔöWÈÔì…ˆÉܮˣĜ ÌÒăÏœôŽ%Ðÿü¥."ѹü‡8!ÒüÓ§üÓ©;¤;
Generate types for C-style flags with ergonomic APIs.
# Getting started
Add `bitflags` to your `Cargo.toml`:
```toml
[dependencies.bitflags]
version = "2.13.0"
```
## Crate features
The `bitflags` library defines a few Cargo features that you can opt-in to:
- `std`: Implement the `Error` trait on error types used by `bitflags`.
- `serde`: Support deriving `serde` traits on generated flags types.
- `arbitrary`: Support deriving `arbitrary` traits on generated flags types.
- `bytemuck`: Support deriving `bytemuck` traits on generated flags types.
## Generating flags types
Use the [`bitflags`] macro to generate flags types:
```rust
use bitflags::bitflags;
bitflags! {
pub struct Flags: u32 {
const A = 0b00000001;
const B = 0b00000010;
const C = 0b00000100;
}
}
```
See the docs for the `bitflags` macro for the full syntax.
Also see the [`example_generated`](./example_generated/index.html) module for an example of what the `bitflags` macro generates for a flags type.
### Externally defined flags
If you're generating flags types for an external source, such as a C API, you can define
an extra unnamed flag as a mask of all bits the external source may ever set. Usually this would be all bits (`!0`):
```rust
# use bitflags::bitflags;
bitflags! {
pub struct Flags: u32 {
const A = 0b00000001;
const B = 0b00000010;
const C = 0b00000100;
// The source may set any bits
const _ = !0;
}
}
```
Why should you do this? Generated methods like `all` and truncating operators like `!` only consider
bits in defined flags. Adding an unnamed flag makes those methods consider additional bits,
without generating additional constants for them. It helps compatibility when the external source
may start setting additional bits at any time. The [known and unknown bits](#known-and-unknown-bits)
section has more details on this behavior.
### Custom derives
You can derive some traits on generated flags types if you enable Cargo features. The following
libraries are currently supported:
- `serde`: Support `#[derive(Serialize, Deserialize)]`, using text for human-readable formats,
and a raw number for binary formats.
- `arbitrary`: Support `#[derive(Arbitrary)]`, only generating flags values with known bits.
- `bytemuck`: Support `#[derive(Pod, Zeroable)]`, for casting between flags values and their
underlying bits values.
You can also define your own flags type outside of the [`bitflags`] macro and then use it to generate methods.
This can be useful if you need a custom `#[derive]` attribute for a library that `bitflags` doesn't
natively support:
```rust
# use std::fmt::Debug as SomeTrait;
# use bitflags::bitflags;
#[derive(SomeTrait)]
pub struct Flags(u32);
bitflags! {
impl Flags: u32 {
const A = 0b00000001;
const B = 0b00000010;
const C = 0b00000100;
}
}
```
### Adding custom methods
The [`bitflags`] macro supports attributes on generated flags types within the macro itself, while
`impl` blocks can be added outside of it:
```rust
# use bitflags::bitflags;
bitflags! {
// Attributes can be applied to flags types
#[repr(transparent)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct Flags: u32 {
const A = 0b00000001;
const B = 0b00000010;
const C = 0b00000100;
}
}
// Impl blocks can be added to flags types
impl Flags {
pub fn as_u64(&self) -> u64 {
self.bits() as u64
}
}
```
### Renaming flags
The [`bitflags`] macro recognizes a special `#[bitflags(flag_name = "<value>")]` attribute on flags values to rename them:
```rust
# use bitflags::bitflags;
bitflags! {
pub struct Flags: u32 {
// Add the attribute to a flag to change its name
#[bitflags(flag_name = "a")]
const A = 0b00000001;
#[bitflags(flag_name = "b")]
const B = 0b00000010;
#[bitflags(flag_name = "c")]
const C = 0b00000100;
}
}
```
When applied to a flag value, instead of using its identifier, like `A` as the name, it'll use the given string. This
doesn't affect the identifier of the constant itself, just the name recognized when parsing and formatting.
## Working with flags values
Use generated constants and standard bitwise operators to interact with flags values:
```rust
# use bitflags::bitflags;
# bitflags! {
# #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
# pub struct Flags: u32 {
# const A = 0b00000001;
# const B = 0b00000010;
# const C = 0b00000100;
# }
# }
// union
let ab = Flags::A | Flags::B;
// intersection
let a = ab & Flags::A;
// difference
let b = ab - Flags::A;
// complement
let c = !ab;
```
See the docs for the [`Flags`] trait for more details on operators and how they behave.
# Formatting and parsing
`bitflags` defines a text format that can be used to convert any flags value to and from strings.
See the [`parser`] module for more details.
# Specification
The terminology and behavior of generated flags types is
[specified in the source repository](https://github.com/bitflags/bitflags/blob/main/spec.md).
Details are repeated in these docs where appropriate, but is exhaustively listed in the spec. Some
things are worth calling out explicitly here.
## Flags types, flags values, flags
The spec and these docs use consistent terminology to refer to things in the bitflags domain:
- **Bits type**: A type that defines a fixed number of bits at specific locations.
- **Flag**: A set of bits in a bits type that may have a unique name.
- **Flags type**: A set of defined flags over a specific bits type.
- **Flags value**: An instance of a flags type using its specific bits value for storage.
```
# use bitflags::bitflags;
bitflags! {
struct FlagsType: u8 {
// -- Bits type
// --------- Flags type
const A = 1;
// ----- Flag
}
}
let flag = FlagsType::A;
// ---- Flags value
```
## Known and unknown bits
Any bits in a flag you define are called _known bits_. Any other bits are _unknown bits_.
In the following flags type:
```
# use bitflags::bitflags;
bitflags! {
struct Flags: u8 {
const A = 1;
const B = 1 << 1;
const C = 1 << 2;
}
}
```
The known bits are `0b0000_0111` and the unknown bits are `0b1111_1000`.
`bitflags` doesn't guarantee that a flags value will only ever have known bits set, but some operators
will unset any unknown bits they encounter. In a future version of `bitflags`, all operators will
unset unknown bits.
If you're using `bitflags` for flags types defined externally, such as from C, you probably want all
bits to be considered known, in case that external source changes. You can do this using an unnamed
flag, as described in [externally defined flags](#externally-defined-flags).
## Zero-bit flags
Flags with no bits set should be avoided because they interact strangely with [`Flags::contains`]
and [`Flags::intersects`]. A zero-bit flag is always contained, but is never intersected. The
names of zero-bit flags can be parsed, but are never formatted.
## Multi-bit flags
Flags that set multiple bits should be avoided unless each bit is also in a single-bit flag.
Take the following flags type as an example:
```
# use bitflags::bitflags;
bitflags! {
struct Flags: u8 {
const A = 1;
const B = 1 | 1 << 1;
}
}
```
The result of `Flags::A ^ Flags::B` is `0b0000_0010`, which doesn't correspond to either
`Flags::A` or `Flags::B` even though it's still a known bit.
Á@f´ÃÊÍíhÖ iž«há¾ g{´f¦ºÞe»íd¼ƒb½˜`¾¯^¿Å\ÀæZÁXªVÄËUÅñTÆSDzRÈÔQÉOË£NÌÒMÏœLÐÿKѹIÒâ å è 4­@ß â Ô × É Ì dË@üQL
Yield the bits of a source flags value in a set of contained flags values.
Á$Ó@ *5«$_á ¾ ,e{
,W)+Ü—ün¨£
An iterator over flags values.
This iterator will yield flags values for contained, defined flags first, with any remaining bits yielded
as a final flags value.
Á  ÍìÛ" §Û"§"5ÞÍq2§3
')œ¹  è"TÒ  ´á€· æ{Û"§"üþ$Œà àÛ"§" 
Û"÷=ÄŠ€· ·<§"üà\œí ô.Û"Û"§"
Û"÷ùš üÇ#€· Ì’¸§"úMûM Û"ü…($ˆá á§"Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ§"úM 
Û"$üø
ü¥ ÒÍ
An iterator over flags values.
This iterator only yields flags values for contained, defined, named flags. Any remaining bits
won't be yielded, but can be found with the [`IterNames::remaining`] method.
Á€· ·<è"£P|¸')ÌŸþ¹¾”)LÎÛ"dÝÛ"Üî  €· ó’¸è"!ü$žâ âÛ"è" ©Ó,÷ƒì€##€· ·<ˆè"$%üÙ\œæþ¹Û"Û"è"""€.÷LUš^ìËü³JG Get a flags value of any remaining bits that haven't been yielded yet.ÁúüŠ>; Once the iterator has finished, this method can be used toÁüÍB? check whether or not there are any bits that didn't correspondÁü”2/ to a contained, defined, named flag remaining.ÁLÒã ãè" ãÛ"" Ü"Ç4üŒ(''€· ’¸,”è"()úMûM) && Û"üß(ä äè"Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙè"úM& ç&
)Û"ü“"'üØ ºµ
An iterator over all defined named flags.
This iterator will yield flags values for all defined named flags, regardless of
whether they are contained in a particular flags value.
Á„ž"++€· ¯"·<²"º#ýrµeÔVa,-%'ÌÁ",Á"**þ¹Tà"à"**”)üï""//€· ô"’¸,÷"º#0ܘ#¦#º#..
0Û"ü•$/22€· š$’¸,$º#34úMûM4 LË$$Ð$11ïÅüï$($ò$å åº#Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙº#úM1 ÷$1
4Û"$ü$ü‚(#ü¼'E@
An iterator over all defined names for a specific flags value.
Át(¥66Íì¬$ œ({¬$,Ÿ(ø#ò¶6ááÉì78+-Ô¬(,¬(55œUlÌ($Ì(55×UüÞ( ¥::ÍÍ ã(ÝÍ,æ(ø#;ü“)$¡)æ æ¬$ø#9 ¬)9
;¬$»*ü³*-¥==ÍÍ ¸*ÝÍ,»*ø#>?úMûM? Lç*$ì*<<ñÅü”+($—+ç çø#Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙø#úM< œ+<
?¬$$¡+tÙ@üÁ¼
Parsing flags from text.
Format and parse a flags value as text using the following grammar:
- _Flags:_ (_Whitespace_ _Flag_ _Whitespace_)`|`*
- _Flag:_ _Name_ | _Hex Number_
- _Name:_ The name of any defined flag
- _Hex Number_: `0x`([0-9a-fA-F])*
- _Whitespace_: (\s)*
As an example, this is how `Flags::A | Flags::B | 0x0c` can be represented as text:
```text
A | B | 0x0c
```
Alternatively, it could be represented without whitespace:
```text
A|B|0x0C
```
Note that identifiers are *case-sensitive*, so the following is *not equivalent*:
```text
a|b|0x0C
```
Á4á@GJNQSVY\ÓÔØ× `@BWriteÁ,üêb@CÖ $ž@E¾ ,—{@FWðEG,‰:<(*ü–tü up
Write a flags value as text.
Any bits that aren't part of a contained flag will be formatted as a hex number.
ÁLè èÛ"ç`™aHÖIIH ¸€· §Íìç`’¸Yý8Dêbç`ß’÷-7üq4ÀKMHJü´\ü¡
Parse a flags value from text.
This function will fail on any names that don't correspond to defined flags.
Unknown bits will be retained.
ÁD»é éàKK Õ€· Ä’¸\ý8D‡†•óЉC%'¨J<closure_kind>ÁL<closure_signature>ÁL<upvars>ÁLLJé~ÉJ¬ÛMÄÛMáÛMMJŃü‡yüÈ>9
Write a flags value as text, ignoring any unknown bits.
Á”Žê êÛ"ç`™aOÖPPO ²€· ¡ŽÙ’¸¦Ù´Ù
NÛ"ç`÷rIüq{I<>ACüÔeüÂŒ
Parse a flags value from text.
This function will fail on any names that don't correspond to defined flags.
Unknown bits will be ignored.
ÁŒÛë ëàRR þ€· í’¸êÛ
QÛ"óŠžK#%üË^üûOJ
Write only the contained, defined, named flags in a flags value as text.
Á„Òì ìÛ"ç`™aTÖUUT ô€· ãŽÙT„ ’¸´Ù,‰
SÛ"ç`÷7Püq4ü57:<üÁ$Fü # 
Parse a flags value from text.
This function will fail on any names that don't correspond to defined flags.
This function will fail to parse hex values.
Á|È$í íàWW é$€· Ø$’¸,Û$
VÛ"óŠ*X¸+V¬ÛXÄÛXáÛXXVÖ¬”’-ü­,d_
Encode a value as a hex string.
Implementors of this trait should not write the `0x` prefix.
ÁDœ-YYÎìçÐü’-xYéçéçZZZüË-=Ü«- Write the value as hex.ÁLÎ-î îçШ™aY¨[[ ç-YÍìóè Ø-êbóèTÛ-
ZçÐóè$è-üq4î-/1”´.üŒ.'"
Parse a value from a hex string.
ÁD¾.\\éçü´.‘\éçéç]]]üï.TìÍ. Parse the value from hex.ÁLò.ï ïÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
çй$\ ƒ/\ÍìçÐ,½/
]çÐóŠ,ü.|¦3¹$_acüé38ü¼3(% An invalid hex flag was encountered.Á„ð3Ò¿¹$^é
``^ÍìÒ¿Œ‡4ÄcÒ¿dŒ4
_Ò¿«8X_#%üÞ6:ü‡6RO A named flag that doesn't correspond to any on the flags type was encountered.Á”å6Ò¿¹$^é
bb^ÇíŒþ6Øídƒ7
aÒ¿«8G`ü½9!ü€985 A hex or named flag wasn't found between separators.ÁTÊ9¹$^^½|ü˜: ¹$eÅceü¿:8Â:ðñò ð¹$ ñ c cˆ¢cµ
 `£cŽ· `àB¤GS
ò™ad Æ:d
e$Ç:± Í:Tê@4î@¡£¦¯°á× `fhBitAndÁ4öøfjBitOrÁ,'–úfkBitXorÁ4.¶ûflNotÁ6•!fmù$QfoTdÓfq¯
Dp\fr
DzYfs$¸Ä¥§|~jl,D_aìDUWGI:<|“uu€· ˜Ö%vwxyzü—6ü©id
Define a flag.
If `name` is non-empty then the flag is named, otherwise it's unnamed.
Á¤ñÅÛ"Ö%tt
vÛ"Ð Þb»çbüê(üømh
Get the name of this flag.
If the flag is unnamed then the returned string will be empty.
Á$÷ó óÖ%ñÅt ütòCüçü²0+
Get the flags value of this flag.
Á,ôô ôÖ% ôÛ"t útÔDü­$ü¨{
Whether the flag is named.
If [`Flag::name`] returns a non-empty string then this method will return `true`.
ÁDºõ õÖ%t Ãt÷Oü… &üýƒ~
Whether the flag is unnamed.
If [`Flag::name`] returns a non-empty string then this method will return `false`.
ÁT’ ö öÖ%t t
zÛ"üï üÔ š 
A set of defined flags using a bits type as storage.
## Implementing `Flags`
This trait is implemented by the [`bitflags`](macro.bitflags.html) macro:
```
use bitflags::bitflags;
bitflags! {
struct MyFlags: u8 {
const A = 1;
const B = 1 << 1;
}
}
```
It can also be implemented manually:
```
use bitflags::{Flag, Flags};
struct MyFlags(u8);
impl Flags for MyFlags {
const FLAGS: &'static [Flag<Self>] = &[
Flag::new("A", MyFlags(1)),
Flag::new("B", MyFlags(1 << 1)),
];
type Bits = u8;
fn from_bits_retain(bits: Self::Bits) -> Self {
MyFlags(bits)
}
fn bits(&self) -> Self::Bits {
self.0
}
}
```
## Using `Flags`
The `Flags` trait can be used generically to work with any flags types. In this example,
we can count the number of defined named flags:
```
# use bitflags::{bitflags, Flags};
fn defined_flags<F: Flags>() -> usize {
F::FLAGS.iter().filter(|f| f.is_named()).count()
}
bitflags! {
struct MyFlags: u8 {
const A = 1;
const B = 1 << 1;
const C = 1 << 2;
const _ = !0;
}
}
assert_eq!(3, defined_flags::<MyFlags>());
```
Á{{›ì,€çÐ{›ì"é…›ì.é…)|}~ƒˆŠŒŽ˜šœ|}~ƒˆŠŒŽ˜šœÍìùЄƒžùЕ‡¦‡šŠƒœŒ˜ˆŽ~ü¸"ì– The set of defined flags.Á,¾{{ –Òìá The underlying bits type.Á$ˆ{{”Èü™*' Get a flags value with all bits unset.Á,ËçÐ{{·Û„Íüš.+ Get a flags value with all known bits set.ÁÐçÐ{{îã´Üü²96 Get a flags value with all bits from named flags set.Áðúüø_\ This method is equivalent to [`Flags::all`] unless [`Flags::FLAGS`] contains unnamed flags.ÁLßçÐ{{
çÐݬÛÄÛáÛàÚ¬ÛÄÛáÛìÜü‰"üÚ*' Get the known bits from a flags value.ÁTŒ÷ ÷çÐùÐ{ {
ƒçÐü“$üâ,) Get the unknown bits from a flags value.Ádø øçÐùÐ{ £{Îéü³'üï?< This method will return `true` if any unknown bits are set.Á¬¶ù ùçÐ{ Ì{
çÐìü™" Get the underlying bits value.ÁÀúüÈC@ The returned value is exactly the bits set in this flags value.Á$“ú úçÐùÐ{ ˜{„Ö$™ü¢ .ô³ Convert from a bits value.ÁÖúüÞ?< This method will return `None` if any unknown bits are set.ÁL¥ ùЦï{{
çдywüÄ"/ü…":7 Convert from a bits value, unsetting any unknown bits.Á”Ç"ùÐçÐ{{£ì´yüæ#.ü»#&# Convert from a bits value exactly.Á„é#ùÐçÐ{{áд$ú#üØ%(üš$FC Get a flags value with the bits of a flag with the given name set.Áå$úüí$@= This method will return `None` if `name` is empty or doesn'tÁü²%! correspond to any named flag.ÁLÛ%û û¦ï{ ë%{
ŠçÐÐ þ{üƒ*"ü¸(*' Yield a set of contained flags values.Áç(úüï(VS Each yielded flags value will correspond to a defined named flag. Any unknown bitsÁüÊ)41 will be yielded together as a final flags value.Á$†*ü üçÐÀû{ ‹*{
çÐ$Œ*üÊ,-üÑ*0- Yield a set of contained named flags values.Á†+úüŽ+ZW This method is like [`Flags::iter`], except only yields bits in contained named flags.Áüí+XU Any unknown bits, or bits not corresponding to a contained flag will not be yielded.ÁTÍ,ý ýçÐôü{ Ø,{
ŒçÐ$Ù,üë-7ü¨->; Yield a set of all named flags defined by [`Self::FLAGS`].Á”î-µþ{{
çÐü”08üÖ.@= Get an iterator over all defined names for this flags value.Á/úü£/MJ This iterator will yield all defined names for the flags value, includingÁÔõ/ any convenience flags.Á„—0þ þçÐÔÿ{ ¨0{
ŽçÐ$©0Ôº1ü‚130 Whether all bits in this flags value are unset.ÁD½1ÿ ÿçÐ{ Æ1{
çÐ$Ç1ÄÇ2ü‹274 Whether all known bits in this flags value are set.Á4Ê2 çÐ{ Ñ2{
çÐ$Ò2üì4Hü¬4;8 Whether any set bits in `other` are also set in `self`.ÁTï4 çÐçÐ{ ú4{›ì,®5
çÐ$û4¹
„ü¾6Füþ5;8 Whether all set bits in `other` are also set in `self`.ÁDÁ6 çÐçÐ{ Ê6{›ì,þ6
çÐ$Ë6¹
û…üù75üÉ7+( Remove any unknown bits from the flags.ÁDü7ƒ ƒçЪK{ …8{›ì,¨8
çÐ$Š8ü·9@ü÷8;8 The bitwise or (`|`) of the bits in `self` and `other`.Á4º9 çÐçЪK{ Á9{›ì,ñ9‹œ$Æ9¹

‰ü½<@üË:EB The intersection of `self` with the complement of `other` (`&!`).Á•;úü;WT This method is not equivalent to `self & !other` when `other` has unknown bits set.Áüù;?< `remove` won't truncate `other`, but the `!` operator will.Á4À< çÐçЪK{ Ç<{›ì,÷<¿œ$Ì<¹
Šü >@üÖ=EB The bitwise exclusive-or (`^`) of the bits in `self` and `other`.Á4£> çÐçЪK{ ª>{›ì,Ú>
çÐ$¯>¹
Z‰ü§@JüÃ?_\ Call [`Flags::insert`] when `value` is `true` or [`Flags::remove`] when `value` is `false`.Áª@ çÐçЪK{ ®@{›ì,ë@
çÐ$³@¹
øˆ»÷ˆü—B2üñA! Unsets all bits in the flags.Á,šBˆ ˆçЪK{  B{›ì,ÃB
˜çÐ$¥BüËC*üúB<9 The bitwise and (`&`) of the bits in `self` and `other`.Á.\»CdÎCçÐçÐçÐ{{
çÐà‡¹
݇üŽE#ü¾D;ˆ§.\þD,EçÐçÐçÐ{{בx†¹
u†ü€H(üúEE°¨ÄFúüÌFW‹©ü¨GC@ `difference` won't truncate `other`, but the `!` operator will.Á.\ðGTƒHçÐçÐçÐ{{•U…¹
R…üÌI2üòHE˜«.\¼I¤ÏIçÐçÐçÐ{{­™σ¹
̃ܨKüÇJLI The bitwise negation (`!`) of the bits in `self`, truncating the result.Á.\˜KT«KçÐçÐ{{
çÐ
ƒü¿LºüþK@;
A bits type that can be used as storage for a flags type.
Á$ÉLžž
›ì,æMØçÐ,ÓLŠ çÐ$ßLµßçÐçÐLêLöøçÐçЬúLçÐçÐøøçÐlM–úçÐçФ–MçÐçИúçÐlœM¶ûçÐçЬ±MçÐçиûçÐl¸M•!çДÍMçЖ!çÐlÑMé…<òMž›ìÿѶõá¶ëñ¶܆·Í›·»³·¬È·šà·õ·y¸o¸bé…`›ìMѶDá¶;ñ¶-†·›·³·È·ïà·àõ·θĸ·é…µŸ Ÿ Œ¥Nü€N  A value with all bits unset.Á,«NžžçÐ|àNô½N A value with all bits set.ÁæNžžçМ€PLŠP¡¡éç´€P¡éçéç´˜PL¥P ¯P ¨Z µP ÇP, ¶P ·P ÅP
, ¸P8À ¹P& ºP8´»P$ ½P, ¿P8´ ÀP& ÁP8´ÂP$ ÄP
ÆP*ÉP ÌP ¦Z, ÖP ×P ŸZ08$åP8Ö $êP8
ïP, óP8À ôP öP ÔQ8,ˆQ8Ó,ŽQ& “Q, •Q8À Q ˜Q7ˆ šQ% Q8,­Q8à³Q& ¶Q, ¸Q8À ¹Q »Q ½Q, ¾Q8À ¿Q ÀQ'ÁQ8MAXÁÃQ% ÆQ8$ãQ8Ö $èQ8
íQ, ñQ8´ òQ ôQ ØR8,†R8Ó,ŒR& R, “R8´ ”R R7ˆ ˜R% ™R8,«R8à±R& ´R, ¶R8´ ·R ¹R »R, ¼R8À ½R ¾R'¿R8ß½ÁR8ÅR, ÈR8´ ÉR% ÊR8$çR8¯
DìR8
õR, ùR8À úR üR ÉT 8 ŽS8¾
LS šS ¦S8óŠ,S&  S ¢S8É£S(¨S8Í4«S ±S8$²S$ ¶S8T¸S ÂS ÄS »T
 ÚS, ÛS8À ÜS ÝS'ÞS8from_str_radixÁtàS îS øS8óŠ,ïS$ ôS716ÁöS ùS8Ù<úS T ©T T8 ƒT „T8T†T'T8Ò
„’T ¢T ¨T8óŠ,£T8$ØT8¯
DÝT8
æT, êT8´ ëT íT ºV 8 ÿT8¾
LU ‹U —U8óŠ,ŒU& U “U8É”U(™U8Í4œU ¢U8$£U$ §U8T©U ³U µU ¬V
 ËU, ÌU8´ ÍU ÎU'ÏU8úÁtÑU ßU éU8óŠ,àU$ åU7´ÂçU êU8Ù<ëU òU šV óU8 ôU õU8T÷U'V8Ò
„ƒV “V ™V8óŠ,”V8$ÉV8
DÎV8
×V, ÛV8À ÜV ÞV X8 ðV8˜
LóV üV8¨ ýV& þV8×€W'ƒW8ÍÕ,…W ŠW W  W ŒW8$W$ W8“W8üq4—W& W8¨ ŸW(¢W8×¥W'¨W8Í4ªW ±W ôW8writeÁ,ÇW ÌW ÍW âW8üq4ÎW$ ÔW7{:x}Á4ÖW$ ÜW8$ÞW8$X8
DX8
ŸX, £X8´ ¤X ¦X ÊY8 ¸X8˜
L»X ÄX8¨ ÅX& ÆX8×ÈX'ËX8ÍÕ,ÍX ÒX ÓX èX ÔX8$ÕX$ ÙX8ÛX8üq4ßX& åX8¨ çX(êX8×íX'ðX8Í4òX ùX ¼Y8×È,Y ”Y •Y ªY8üq4Y$ œY7ŽÉ4žY$ ¤Y8$¦Y8$ÙY8êLÞY8
èY, ìY8´ íY ïY ðY8$þY8êLƒZ8
Z, Z8À Z ”Z •Z
 Z¬ô[ü“[>; A trait for referencing the `bitflags`-owned internal typeÁüÒ[! without exposing it publicly.Á\þ[££éçüô[¼£éçéç ¤¥¤¥ÍìçФԼ\¡ØÏLÌ\ÐÏèÏÍìçÐ¥t ]…Ð̼\ü\'$ The type of the underlying storage.ÁLÁ\££l ]üÜ\?< The type of the internal field on the generated flags type.ÁD¥]££ü÷]64¸]use the `Flags` trait insteadÁüÕ]üÁ]5D^ðЦ¦éçü÷]½¯çÐÔ‹^{çÐ,¨^¦éç9ËÒ-ÛÒ$éçKËÒ?ÛÒ¨§¨ÍìçЧü÷^!ùM¯Ó¬‚_¯ÓúMçÐ\‹_§Ó,ÀÓ!ÐÓÍìçШüü_6ùMþÓüŒ`%þÓúMñÅçÐÜ•`öÓ2Ô' Ôü÷^ ü´^>; An iterator over enabled flags in an instance of the type.Á$ü^ðЦ¦üü_5üž_YV An iterator over the raw names and bits for enabled flags in an instance of the type.ÁL`ðЦ¦ìË`ªª€· Ð`’¸,Ó`Û"«¬§¨Lï`$ô`©©§"taLa©©è"ü¼a/®®€· Áa’¸,ÄaÛ"ü“d$üðaeb A marker trait that signals that an implementation of `BitFlags` came from the `bitflags!` macro.ÁÖbúüÚbc` There's nothing stopping an end-user from implementing this trait, but we don't guarantee theirÁü¾cEB manual implementations won't break between non-breaking releases.Á4ŠdÔd¯¯éçü“d'¯éçéçļdLËdûÔëd¯²Š\‡e£³,ãd%'Œ†A4ý@LŽAí$ÔB¸ûg¯·²Ši£·³,Bœ˜BŒ°BBDDþB„©Cît¬ÆeüÆQïê
Generate a flags type.
# `struct` mode
A declaration that begins with `$vis struct` will generate a `struct` for a flags type, along with
methods and trait implementations for it. The body of the declaration defines flags as constants,
where each constant is a flags value of the generated flags type.
## Examples
Generate a flags type using `u8` as the bits type:
```
# use bitflags::bitflags;
bitflags! {
struct Flags: u8 {
const A = 1;
const B = 1 << 1;
const C = 0b0000_0100;
}
}
```
Flags types are private by default and accept standard visibility modifiers. Flags themselves
are always public:
```
# use bitflags::bitflags;
bitflags! {
pub struct Flags: u8 {
// Constants are always `pub`
const A = 1;
}
}
```
Flags may refer to other flags using their [`Flags::bits`] value:
```
# use bitflags::bitflags;
bitflags! {
struct Flags: u8 {
const A = 1;
const B = 1 << 1;
const AB = Flags::A.bits() | Flags::B.bits();
}
}
```
A single `bitflags` invocation may include zero or more flags type declarations:
```
# use bitflags::bitflags;
bitflags! {}
bitflags! {
struct Flags1: u8 {
const A = 1;
}
struct Flags2: u8 {
const A = 1;
}
}
```
# `impl` mode
A declaration that begins with `impl` will only generate methods and trait implementations for the
`struct` defined outside of the `bitflags` macro.
The struct itself must be a newtype using the bits type as its field.
The syntax for `impl` mode is identical to `struct` mode besides the starting token.
## Examples
Implement flags methods and traits for a custom flags type using `u8` as its underlying bits type:
```
# use bitflags::bitflags;
struct Flags(u8);
bitflags! {
impl Flags: u8 {
const A = 1;
const B = 1 << 1;
const C = 0b0000_0100;
}
}
```
# Named and unnamed flags
Constants in the body of a declaration are flags. The identifier of the constant is the name of
the flag. If the identifier is `_`, then the flag is unnamed. Unnamed flags don't appear in the
generated API, but affect how bits are truncated.
## Examples
Adding an unnamed flag that makes all bits known:
```
# use bitflags::bitflags;
bitflags! {
struct Flags: u8 {
const A = 1;
const B = 1 << 1;
const _ = !0;
}
}
```
Flags types may define multiple unnamed flags:
```
# use bitflags::bitflags;
bitflags! {
struct Flags: u8 {
const _ = 1;
const _ = 1 << 1;
}
}
```
Á(|¶eã~ Üe ýƒ  âe Îg, ìe íe üe+ îe ïe ûe, ðe8outerÁ,ñe& öe8û$÷e
ýe, ‡f8ƈf& f8ÆŒf84f, —f8´D˜f&  f8¼,¡f& ¦f, ¨f8¥ ©f& ªf8´«f ®f µg, ¼f ½f ªg, Ïf Ðf íf+ Ñf Òf ìf, Óf8ù,Ôf& Ùf8¼,Úf, àf áf êf, âf8À$ãf& çf8¯èf
ëf
îf8,€g, †g8«$‡g& g8¯Œg g, g8»,g& —g8$˜g% œg
«g, Àg Ág Çg, Âg8¿ Ãg& Äg8¯Åg
Èg*Ðg Óg Öx, Éh8,Êh'Ïh8ªÌÑh êh ìh ²i, úh ûh …i+ üh ýh „i, þh8–ð,ÿh
†i, ”i8Æ•i84™i,  i8´D¡i+ ½i ¾i Úl8«,¿i Äi Ùl"8LÒi$ Ûi8±Téi$ ói8unused_doc_commentsÁœj$ ”j8unused_attributesÁŒ¢j$ ³j8
unused_mutÁTÁj$ Ëj8žtÙj$ çj8non_upper_case_globalsÁ´õj$ k84™k'Ÿk8min_ident_charsÁ|¡k$ °k84¾k'Äk8assign_op_patternÁŒÆk$ ×k84åk'ëk8indexing_slicingÁ„ík$ ýk84l'l8same_name_methodÁ„“l$ £l84±l'·l8iter_without_into_iterÁ´¹l$ Ïl8,äl8 êl& ël íl îl ðl òl •x*, ‰n8,Šn'n8Ü‘n ¬n ®n ín, Àn8ÆÁn84Ån8InternalBitFlagsÁ„Ìn& Ün, Þn8¥ ßn, ün8,ýn'o8Ôì„o ¡o £o ïp, µo8´D¶o& ¾o, Ào8¥ Áo Ão áp, Ùo Úo Îp
, ôo õo ‰p+ öo ÷o ˆp, øo8ù,ùo, ÿo €p †p, p8À$p
‡p
Šp8,¤p, ªp8«$«p °p, ²p8»,³p% ¸p
Ïp, þp8,ÿp'„q8£Ćq žq  q þr8×ú„²q& Âq, Äq8¥ Åq$ Æq, Èq8´DÉq Òq ðr, èq éq Ýr
, ƒr „r ˜r+ …r †r —r, ‡r8ù,ˆr, Žr r •r, r8À$r
r
™r8,³r, ¹r8«$ºr ¿r, Ár8»,Âr% Çr
Þr, Ùs8,Ús'ßs8ÒÄás ùs ûs Ðu8×út& t, Ÿt8¥  t$ ¡t, £t8´D¤t ­t Âu, Ãt Ät ¯u, Þt ßt ót+ àt át òt, ât8ù,ãt, ét êt ðt, ët8À$ìt
ñt
ôt8,Žu, ”u8«$•u% ™u
°u, ßu8,àu'åu8Ëôçu …v ‡v Åv, ™v8´Dšv& ¢v, ¤v8¥ ¥v$ ¦v8×ú„¨v, Ôv8,Õv'Úv8²ÔÜv öv øv  w, Šw8´Dw, ¯w8,°w'µw8Ü·w Òw Ôw x, æw8´Dçw& ïw, ñw8¥ òw$ ów, õw8´Döw% x, ¡x8,¢x'§x8ÞD©x ±x ³x Ðx, Áx Âx Åx, Ãx8¿ Äx
Æx% ×x Ýx ¾z, çx èx ÷x+ éx êx öx, ëx8–ð,ìx& ñx8û$òx
øx8$y, ‡y8´Dˆy& y8¼,y& y, ˜y8¥ ™y& šy8´y žy ¥z, ¬y ­y šz, ¿y Ày Ýy+ Áy Ây Üy, Ãy8ù,Äy& Éy8¼,Êy, Ðy Ñy Úy, Òy8À$Óy& ×y8¯Øy
Ûy
Þy8,ðy, öy8«$÷y& ûy8¯üy ÿy, z8»,z& ‡z8$ˆz% Œz
z, °z ±z ·z, ²z8¿ ³z& ´z8¯µz
¸z*Àz Ãz ìƒ+ Íz Îz ž}8«,Ïz Ôz }8Lâz$ ëz8±Tùz$ ƒ{8 öœ‘{$ ¤{8ÅöŒ²{$ Ã{8èöTÑ{$ Û{8žté{$ ÷{8–÷´…|$ |84©|'¯|8Ð÷|±|$ À|84Î|'Ô|8ƒøŒÖ|$ ç|84õ|'û|8 ù´ý|$ “}8,¨}8 ®}& ¯} ±} ²} ´} ¶} «ƒ, Ä}8,Å}'Ê}8ÔìÌ} é} ë} ·, ý}8´Dþ}& †~, ˆ~8¥ ‰~ ~ ©, ¡~ ¢~ 
, ¼~ ½~ Ñ~+ ¾~ ¿~ Ð~, À~8ù,Á~, Ç~ È~ Î~, É~8À$Ê~
Ï~
Ò~8,ì~, ò~8«$ó~ ø~, ú~8»,û~% 
, Æ8'Ì8ñ´Î ä æ Û , ø ù ƒ€+ ú û ‚€, ü8–ð
„€, –€8´D—€& Ÿ€, ¡€8¥ ¢€$ £€, ¥€8´D¦€ ¯€ Í, Å€ Æ€ º
, à€ á€ õ€+ †〠ô€, ä€8ù,å€, ë€ ì€ ò€, í€8À$î€
ó€
ö€8,, 8«$— œ, ž8»% ¤
», ê8'ð8²Ôò Œ‚ Ž‚ ¶‚,  ‚8´D¡‚, Å‚8,Æ‚'Ë‚8ÜÍ‚ è‚ ê‚ ¡ƒ, ü‚8´Dý‚& …ƒ, ‡ƒ8¥ ˆƒ$ ‰ƒ, ‹ƒ8´DŒƒ% ¬ƒ, ·ƒ8,¸ƒ'½ƒ8ÞD¿ƒ ǃ Ƀ æƒ, ׃ ؃ Ûƒ, Ùƒ8¿ Úƒ
܃% íƒ óƒ ôƒ*öƒ ùƒ úƒ% ûƒäâ…ü€„*' Implement functions on bitflags types.Á«„úü¯„^[ We need to be careful about adding new methods and trait implementations here because theyÁüŽ…41 could conflict with items added by the end-user.Á(|Ã…4Ù…ò’ ÿ… ¡µ …† ¦‘(8paramsÁ4•‡& ›‡, 8$ž‡& ¢‡8¼,£‡$ ¨‡, ª‡8´$«‡& ¯‡8¼,°‡$ µ‡, ·‡8Ð $¸‡& ¼‡8¼,½‡$ ‡, ć8¹
,Ň& ʇ8¼,ˇ$ Ї, Ò‡8»,Ó‡& ؇8¼,Ù‡% Þ‡, è‡ é‡ ø‡+ ê‡ ë‡ ÷‡, ì‡8–ð,í‡& ò‡8û$ó‡
ù‡, ƒˆ8PublicBitFlagsÁt„ˆ& ’ˆ8¼,“ˆ& ˜ˆ, šˆ8¥ ›ˆ& œˆ8´ˆ  ˆ  ‘Œ8 ®ˆ8á ,±ˆ ¶ˆ ·ˆ, ¹ˆ8
empty_bodyÁTºˆ& Ĉ8¸,ň8 ׈8£Úˆ ݈ Þˆ, àˆ8all_bodyÁDáˆ& éˆ8¸,êˆ8 üˆ8´$ÿˆ ƒ‰ ‰‰ „‰8$…‰, ‹‰8 bits_bodyÁLŒ‰& •‰8¸,–‰8 ¨‰8Õ
L«‰ ´‰ ¹‰8´$µ‰, »‰8from_bits_bodyÁt¼‰& ʉ8¸,ˉ8 ݉8å
”à‰ ò‰ ÷‰8´$ó‰, ù‰8from_bits_truncate_bodyÁ¼ú‰& ‘Š8¸,’Š8 ¤Š8þ
„§Š ·Š ¼Š8´$¸Š, ¾Š8from_bits_retain_bodyÁ¬¿Š& ÔŠ8¸,ÕŠ8 çŠ8LêŠ óŠ øŠ8Ð $ôŠ, úŠ8from_name_bodyÁtûŠ& ‰‹8¸,Š‹8 œ‹8íDŸ‹ §‹ ­‹ ¨‹8$©‹, ¯‹8
is_empty_bodyÁl°‹& ½‹8¸,¾‹8 Ћ8ü4Ó‹ Ù‹ ß‹ Ú‹8$Û‹, á‹8 is_all_bodyÁ\â‹& í‹8¸,î‹8 €Œ8TƒŒ Œ šŒ ŽŒ8$Œ$ “Œ8¹
,•Œ, œŒ8intersects_bodyÁ|Œ& ¬Œ8¸,­Œ8 ¿Œ8šDÂŒ ÊŒ ׌ ËŒ8$ÌŒ$ ÐŒ8¹
,Ҍ, ٌ8
contains_bodyÁlÚŒ& çŒ8¸,èŒ8 úŒ8¸4ýŒ ƒ  88$‰$ 8¹
,, 8 insert_bodyÁ\—& ¢8¸8 µ8Å ¾ Ï ¿8À8$ È8¹
, Ñ8 remove_bodyÁ& Ý8¸8 ð8Ò ù ŠŽ ú8û8$ÿ$ ƒŽ8¹
,…Ž, ŒŽ8 toggle_bodyÁ\Ž& ˜Ž8¸,™Ž8 «Ž8ß®Ž ±Ž ÉŽ ²Ž8³Ž8$·Ž$ »Ž8¹
,½Ž$ ÂŽ8»,ÄŽ, ËŽ8set_bodyÁDÌŽ& ÔŽ8¸,ÕŽ8 çŽ8õdêŽ öŽ 8$÷Ž$ ûŽ8¹
,ýŽ, 8intersection_bodyÁŒ…& 8¸,—8 ©8C ± ½8$ 8¹
,¸, ¿8
union_bodyÁ& Ê8¸8 Ý8Ž ê ö8$ ï8¹
, ø8difference_bodyÁ& ˆ8¸,‰8 8Ÿ¤ž ² ¾8$ ·8¹
, À8symmetric_difference_bodyÁÌÁ& Ú8¸8 í8º ú ÿ8, 8complement_bodyÁ|‚‘& ‘‘8¸,’‘*¨‘ «‘ žµ, µ‘ ¶‘ À‘+ ·‘ ¸‘ ¿‘, ¹‘8–ð,º‘
Á‘8$Ë‘, Б8ùštÑ‘ à‘ ˜µ<âˆüî‘*+ ¥’ ¦’ ­’8Ý4§’8»’8,¿’8 Å’8á ,È’ Í’ Î’(Ð’8$Ó’, è’8•œTé’<ʉü.+ ¼“ ½“ Ä“8Ý4¾“8Ò“8,Ö“8 Ü“8£ß“ â“ ã“(å“8$è“, ý“8íœDþ“<ûü””"<úÔ<³‘üÓ”C+ £• ¤• «•8Ý4¥•8¹•8,½•8 Õ8´$Æ• Ê• Ñ• Ë•, Ì•8$Í•(Ó•, Ö•8¥ ו, é•8ÖLê•<Ñ’ô<ú¬–<…“ü¼–?+ ˆ— ‰— 8Ý4Š—8ž—8,¢—8 ¨—8Õ
L«— ´— ¾—, µ—8´$¶—& º—, ¼—8¥ ½—(À—, ×8,Ä—'É—8œLË—'Ô—8í$Ö—'Ú—8³
4Ü—'â—8¬4ä— ê—8$ë— ï—, ˜8¹žt‚˜<“”üž˜:+ å˜ æ˜ í˜8Ý4ç˜8û˜8,ÿ˜8 …™8å
”ˆ™ š™ ¤™, ›™8´$œ™&  ™, ¢™8¥ £™(¦™8$©™, ¾™8¡Ÿ¼¿™<–•üä™&+ —š ˜š Ÿš8Ý4™š8­š8,±š8 ·š8þ
„ºš Êš Ôš, Ëš8´$Ìš& К, Òš8¥ Óš(Öš8$Ùš, îš8’ ¬ïš<†–ü’›F<úå›<â–üõ›@<¬—üœ!+ ðœ ñœ øœ8Ý4òœ88 Š8L  ¢, 8Ð $˜& œ ž8ÉŸ(¤, §8'­8œ'¸8í'¾8³
'Æ8¬ Î8 Ó, å8¡<& Whether all bits in `self` are unset.Áü‚ž)+ ¸ž ¹ž Àž8Ý4ºž8Ξ8,Òž8 Øž8íDÛž ãž êž äž, åž8$æž(ìž8º$ïž, „Ÿ8ð¡l…Ÿ<ƒ¢ü Ÿ7+ äŸ åŸ ìŸ8Ý4æŸ8úŸ8,þŸ8 „ 8ü4‡    ”  Ž ,  8$ ( 8º$™ , ® 8Þ¢\¯ <š£üÈ ;+ ¡ ‘¡ ˜¡8Ý4’¡8¦¡8,ª¡8 °¡8T³¡ ½¡ Ò¡ ¾¡, ¿¡8$À¡$ Ä¡, Æ¡8¹
,Ç¡& Ì¡8$Ρ(Ô¡8º$ס, ì¡8Þ£|í¡<ǤüŠ¢;+ Ò¢ Ó¢ Ú¢8Ý4Ô¢8è¢8,ì¢8 ò¢8šDõ¢ ý¢ ’£ þ¢, ÿ¢8$€£$ „£, †£8¹
,‡£& Œ£8$Ž£(”£8º$—£, ¬£8â¤l­£<ˆ§üÈ£;+ ¤ ‘¤ ˜¤8Ý4’¤8¦¤8 ª¤8¸4­¤ ³¤ ̤  ´¤8µ¤, ¹¤8$º¤$ ¾¤, À¤8¹
,Á¤& Ƥ8$Ȥ, Þ¤8ï¥\ߤ<°¨üø¤E<úÊ¥<‹©üÚ¥W<ì©ü¾¦?+ Ч ‹§ ’§8Ý4Œ§8 §8 ¤§8Å4§§ ­§ Ƨ  ®§8¯§, ³§8$´§$ ¸§, º§8¹
,»§& À§8$§, ا8ú¦\Ù§<˜«üò§E+ Ĩ Ũ ̨8Ý4ƨ8Ú¨8 Þ¨8Ò4á¨ ç¨ €©  è¨8é¨, í¨8$î¨$ ò¨, ô¨8¹