mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
make guarentee even stronger
This commit is contained in:
parent
b9481116f1
commit
0be595b47e
|
@ -134,7 +134,7 @@ fixed_width_signed_integer_impl!(i32);
|
|||
|
||||
/// A fixed point number represented using `I` with `N` bits of fractional precision
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
|
||||
#[repr(C)]
|
||||
#[repr(transparent)]
|
||||
pub struct Num<I: FixedWidthUnsignedInteger, const N: usize>(I);
|
||||
|
||||
/// An often convenient representation for the Game Boy Advance using word sized
|
||||
|
|
Loading…
Reference in a new issue