Lines Matching defs:bitflags
14 //! The `bitflags!` macro generates `struct`s that manage a set of flags. The
21 //! use bitflags::bitflags;
23 //! bitflags! {
43 //! generated by the above `bitflags!` expansion.
51 //! use bitflags::bitflags;
53 //! bitflags! {
63 //! // same module where the `bitflags!` macro was invoked.
91 //! use bitflags::bitflags;
93 //! bitflags! {
119 //! generated by `bitflags!`. In these cases, the type is guaranteed to be a newtype.
122 //! use bitflags::bitflags;
124 //! bitflags! {
203 //! use bitflags::bitflags;
205 //! bitflags! {
224 //! use bitflags::bitflags;
226 //! bitflags! {
252 //! use bitflags::bitflags;
254 //! bitflags! {
279 #![doc(html_root_url = "https://docs.rs/bitflags/1.3.2")]
286 /// See the [crate level docs](../bitflags/index.html) for complete documentation.
291 /// use bitflags::bitflags;
293 /// bitflags! {
318 /// use bitflags::bitflags;
320 /// bitflags! {
330 /// // same module where the `bitflags!` macro was invoked.
350 macro_rules! bitflags {
377 bitflags! {
572 /// The caller of the `bitflags!` macro can chose to allow or
573 /// disallow extra bits for their bitflags type.
577 /// are valid for this bitflags type.
830 // https://github.com/bitflags/bitflags/issues/109
883 // https://github.com/bitflags/bitflags/issues/109
942 bitflags! {
977 bitflags! {
1264 bitflags! {
1543 bitflags! {
1569 bitflags! {
1583 bitflags! {
1596 bitflags! {
1607 bitflags! {
1621 bitflags! {
1648 bitflags! {
1665 bitflags! {}
1670 bitflags! {
1720 bitflags! {