References
&Struct
(Supported by c
, cpp
, and nanobind
, queried with supports=struct_refs
)
Structs can be borrowed mutably or immutably as parameters to functions, but nowhere else.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
(Supported by c
, cpp
, and nanobind
, queried with supports=struct_refs
)
Structs can be borrowed mutably or immutably as parameters to functions, but nowhere else.