Lines Matching full:fit
65 /// // The value `15` is statically validated to fit that constraint at build time.
76 /// // This also doesn't build: the requested value doesn't fit within 4 signed bits.
201 /// // This however does not build, as 10 bits won't fit into a `u8` (regardless of the actually
224 /// // Fails because `128` doesn't fit into 6 bits.
299 /// Returns [`None`] if `value` doesn't fit within `N` bits.
312 /// // `0x1ff` doesn't fit into 8 unsigned bits.
353 /// // Triggers a build error as `v` cannot be asserted to fit within 4 bits...
413 // SAFETY: The value did fit within `N` bits, so it will all the more fit within
433 /// // ... but doesn't fit within `2` bits.
546 /// // Fails because `128` doesn't fit into 6 bits.
553 /// Returns [`None`] if `self` does not fit into the target type.
1015 // Number of bits that fit into a 8-bits primitive.
1020 // Other number of bits that fit into a 16-bits primitive.
1025 // Other number of bits that fit into a 32-bits primitive.
1033 // Other number of bits that fit into a 64-bits primitive.
1066 // is constrained to `N` bits) can fit into the destination type, so this