Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Getter for dim in Shape #820
Comments
|
Makes sense. Some redesign is needed. Right now, these are only designed for argument conversion for the constructors, and are not intended to be modified like this. |
|
Thank you for you reply. |
For
Shape, there is not getter for the dimension stored inside the structure. There was one, but now it is solely a comment (see below):Is there a possibility to extract the exact dimension stored inside
Shapeto use it to modify the dimensions of struct definitions (minimal example below) outside of the crate?