Path to a cell in a structure
struct A {
int x;
B b;
};
struct B { int y; };
A a;
a.b.y = 2; // here 'a.b.y' is a path
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Path to a cell in a structure
struct A {
int x;
B b;
};
struct B { int y; };
A a;
a.b.y = 2; // here 'a.b.y' is a path