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