You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not a Rust veteran, but is there a (fixable) reason why the ux types can't be converted directly to usize/isize?
let x = usize::from(u4::new(0));// the trait bound `usize: std::convert::From<ux::u4>` is not satisfiedlet x = usize::from(u8::from(u4::new(0)));// works, but is obviously not ergonomical
The text was updated successfully, but these errors were encountered:
I'm not a Rust veteran, but is there a (fixable) reason why the
ux
types can't be converted directly tousize
/isize
?The text was updated successfully, but these errors were encountered: