mirror of
https://github.com/darkicewolf50/RustBrock.git
synced 2025-07-06 11:07:12 -06:00
finished ch7.3
This commit is contained in:
@ -513,12 +513,13 @@ fn main() {
|
||||
}
|
||||
```
|
||||
output
|
||||
```
|
||||
[src/main.rs:10:16] 30 * scale = 60
|
||||
[src/main.rs:14:5] &rect1 = Rectangle {
|
||||
width: 60,
|
||||
height: 50,
|
||||
}
|
||||
|
||||
```
|
||||
## Methods
|
||||
Fucntions that are more closely related to structs
|
||||
|
||||
|
Reference in New Issue
Block a user