Created
September 24, 2019 15:35
-
-
Save Winwardo/7e8f405af068eba82c127b63a6907ec0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct MyStruct { | |
value: u8 | |
} | |
impl MyStruct { | |
pub fn Create() -> MyStruct { | |
MyStruct { | |
value: 7u8 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment