#[derive(Debug)]
struct Person{
name: String,
age: u32,
is_student: bool,
languages: String,
}
fn main() {
let about = Person {
name: String::from("João Vitor"),
age: 22,
is_student: true,
languages: String::from("Rust, C, Python"),
};
println!("Information about me: {:?}", about);
}
Popular repositories Loading
-
-
-
-
binary_conversor-with-arithmetic-operations
binary_conversor-with-arithmetic-operations PublicA simple rust code that gets numbers from input and converts to binary to show and calculate the four operations.
Rust
-
Celsius-Fahrenheit-Conversor
Celsius-Fahrenheit-Conversor PublicCalculate between Fahrenheit and Celsius from choice.
Rust
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.