INNER CODE UNIT · Rust

my_function

mouredev/one-day-one-language · 09 - Rust/hello_world/src/hello_world.rs:108

fn my_function() {
    println!("Esto es una función");
}

struct MyStruct {
    name: String,
    age: i32,
}

impl MyStruct {
    fn new(name: &str, age: i32) -> MyStruct {
        MyStruct {
            name: String::from(name),
            age,
        }
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…