Struct initialization expressions #4

Open
opened 2022-03-04 03:12:39 +00:00 by mars · 0 comments
Owner
struct Example {
    i32 member = 100,
    i32 math = 100 * 2 + 1,
}

remember to check for TODOs in example files and use wherever possible

is compile-time function evaluation possible?

``` struct Example { i32 member = 100, i32 math = 100 * 2 + 1, } ``` remember to check for TODOs in example files and use wherever possible is compile-time function evaluation possible?
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mars/sprite-rs#4
No description provided.