- Hello, again.
Welcome to Lesson 11.
In this lesson, we'll continue our discussion of structures
by showing how to implement functionality to a structure.
We'll begin by implementing simple functionality
that doesn't modify the state of an object.
And then we'll see how to implement mutable functionality
that does modify the state of the object.
After that, we'll take a step back from the syntax,
and think about how to organize our code
into separate modules.
We'll see how to define a structure type in one module,
and then import it and use it in our main code.
We'll wrap up the lesson by discussing associated functions
and associated data, which are concepts
similar to statics in other languages.