Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
Source from the content-addressed store, hash-verified
| 51 | T: ScalarBitSetStorage, |
| 52 | { |
| 53 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { |
| 54 | let mut s = f.debug_struct(core::any::type_name::<Self>()); |
| 55 | for i in 0..Self::capacity() { |
| 56 | use alloc::string::ToString; |
| 57 | s.field(&i.to_string(), &self.contains(i)); |
| 58 | } |
| 59 | s.finish() |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | impl<T> Default for ScalarBitSet<T> |
Callers
nothing calls this directly
Tested by
no test coverage detected