Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
doc
/
book
/
listings
/
ch05-using-structs-to-structure-related-data
/
no-listing-01-tuple-structs
/
src
/
main.rs
blob: 4c92c5d7788f3d46bf938b06752c001b521ba19c [
file
] [
log
] [
blame
]
fn
main
()
{
// ANCHOR: here
struct
Color
(
i32
,
i32
,
i32
);
struct
Point
(
i32
,
i32
,
i32
);
let
black
=
Color
(
0
,
0
,
0
);
let
origin
=
Point
(
0
,
0
,
0
);
// ANCHOR_END: here
}