(value: usize)
| 463 | pub struct Align(pub usize); |
| 464 | impl Align { |
| 465 | pub const fn from_value(value: usize) -> Self { |
| 466 | assert!(value.is_power_of_two()); |
| 467 | Self(value) |
| 468 | } |
| 469 | pub const fn from_bit(bit: usize) -> Self { |
| 470 | assert!(bit <= 63); |
| 471 | Self(1 << bit) |
nothing calls this directly
no outgoing calls
no test coverage detected