Try Rust#
Note: The Rust kernel cannot be interrupted!
let a=5;
a+7
12
pub struct User {
username: String
}
let user = User { username: String::from("John Doe") };
:vars
Variable | Type |
---|---|
a | i32 |
user | User |
fn my_func() {
// Statements here are executed when the compiled binary is called
// Print text to the console
println!("Hello World!");
}
my_func();
Hello World!