Skip to content

Extend traits chapter #90

Closed
rust-lang/rust
#64580
@japaric

Description

@japaric
  • supertraits FooBar: Foo + Bar
  • trait objects Box<Foo>, &Foo
  • "function overloading" using double dispatch: Vec * Vec and Vec * int

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions