rustbook-learning-guide 0.1.0

A comprehensive Rust learning guide with practical examples covering ownership, traits, polymorphism, and more
Documentation
//! Data structure examples

pub fn struct_examples() {
    println!("\n🏗️ Struct Examples");
    println!("{}", "-".repeat(19));
    
    #[derive(Debug)]
    struct Person {
        name: String,
        age: u32,
    }
    
    let person = Person {
        name: "Alice".to_string(),
        age: 30,
    };
    
    println!("Person: {:?}", person);
}