Hello Method Calls!

We'll cover the following...

In Ownership and References, we’ve learned three fundamental concepts in Rust:

  • How to create our own data types using struct

  • How ownership and moving works

  • How to use references and mutable references

So far, we’ve demonstrated these concepts using functions. We pass ownership of a value from one function to another. Or we borrow a reference and pass that reference into a function.

There’s another concept in Rust that is very ...

Access this course and 1400+ top-rated courses and projects.