• esa@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 hours ago

    Yeah, though in those cases you might get an extra question about why rect is a function and not a method, e.g.

    Rect {
         w: 30,
         h: 20,
         .. RectArgs::default()
    }.do_the_thing()