Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
auxiliary
/
issue-31702-1.rs
blob: a48d0dc2c644761bcc08ced31d702412309e2299 [
file
] [
log
] [
blame
] [
edit
]
#[
derive
(
Copy
)]
pub
struct
U256
(
pub
[
u64
;
4
]);
impl
Clone
for
U256
{
fn
clone
(&
self
)
->
U256
{
*
self
}
}
impl
U256
{
pub
fn
new
(
value
:
u64
)
->
U256
{
let
mut
ret
=
[
0
;
4
];
ret
[
0
]
=
value
;
U256
(
ret
)
}
}