Lines Matching full:arbitrary
72 #[cfg(feature = "arbitrary")]
73 pub use arbitrary;
178 #[cfg(feature = "arbitrary")]
179 pub mod arbitrary; module
184 /// Implement `Arbitrary` for the internal bitflags type.
187 #[cfg(feature = "arbitrary")]
197 impl<'a> $crate::__private::arbitrary::Arbitrary<'a> for $InternalBitFlags {
198 fn arbitrary(
199 u: &mut $crate::__private::arbitrary::Unstructured<'a>,
200 ) -> $crate::__private::arbitrary::Result<Self> {
201 $crate::arbitrary::arbitrary::<$PublicBitFlags>(u).map(|flags| flags.0)
209 #[cfg(not(feature = "arbitrary"))]