Re: [PATCH RFC 1/3] rust: add useful ops for u64
From: Sergio González Collado
Date: Wed Feb 19 2025 - 15:13:06 EST
> Actually. How about adding methods to this trait that return either
> component?
>
> let some_u32 = some_u64.high_half();
> let another_u32 = some_u64.low_half();
>
> These should be used most of the times, and using destructuring/tuple
> would only be useful for a few select cases.
>
Indeed very nice!