• I_like_cats@lemmy.one
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago
    trait Person {
        fn get_father(&self) -> Option<Person>;
    }
    
    struct You;
    
    impl Person for You {
        fn get_father(&self) -> Option<Person> {
            None
        }
    }