# Struct composition: Line


* Not much difference from the `Circle`. A `Line` is composed of two `Point` structs.

{% embed include file="src/examples/struct/line-compose/src/main.rs" %}
{% embed include file="src/examples/struct/line-compose/out.out" %}


