4 Answered Questions

2 Answered Questions

[SOLVED] How do I implement a trait I don't own for a type I don't own?

  • 2014-08-20 19:45:19
  • le_me
  • 3293 View
  • 25 Score
  • 2 Answer
  • Tags:   rust traits

1 Answered Questions

[SOLVED] "Expected type parameter" error in the constructor of a generic struct

  • 2015-09-13 15:17:07
  • Xavier Shay
  • 3668 View
  • 19 Score
  • 1 Answer
  • Tags:   generics rust traits

11 Answered Questions

[SOLVED] What is the difference between self-types and trait subclasses?

2 Answered Questions

[SOLVED] How to get a reference to a concrete type from a trait object?

  • 2015-11-13 07:03:35
  • Aleksandr
  • 9296 View
  • 38 Score
  • 2 Answer
  • Tags:   rust traits

2 Answered Questions

2 Answered Questions

[SOLVED] How do I implement the Add trait for a reference to a struct?

2 Answered Questions

2 Answered Questions

[SOLVED] What makes something a "trait object"?

  • 2014-12-19 14:14:39
  • Shepmaster
  • 5931 View
  • 38 Score
  • 2 Answer
  • Tags:   rust traits

3 Answered Questions

[SOLVED] How to clone a struct storing a boxed trait object?

3 Answered Questions

[SOLVED] How do I return an instance of a trait from a method?

  • 2015-06-05 07:42:32
  • neon64
  • 10667 View
  • 25 Score
  • 3 Answer
  • Tags:   rust traits

2 Answered Questions

[SOLVED] How do I use integer number literals when using generic types?

8 Answered Questions

[SOLVED] What is the advantage of using abstract classes instead of traits?

  • 2010-01-02 09:03:28
  • Ralf
  • 91483 View
  • 362 Score
  • 8 Answer
  • Tags:   scala traits

8 Answered Questions

[SOLVED] Find out whether a C++ object is callable

4 Answered Questions

[SOLVED] How to override trait function and call it from the overridden function?

  • 2012-08-13 17:19:28
  • Shu
  • 88007 View
  • 346 Score
  • 4 Answer
  • Tags:   php traits

2 Answered Questions

[SOLVED] Why would I implement methods on a trait instead of as part of the trait?

  • 2015-12-23 15:22:06
  • Shepmaster
  • 3217 View
  • 32 Score
  • 2 Answer
  • Tags:   rust traits

2 Answered Questions

3 Answered Questions

[SOLVED] Is it possible to access struct fields from within a trait?

  • 2015-01-29 16:29:56
  • Reignbeaux
  • 4767 View
  • 6 Score
  • 3 Answer
  • Tags:   oop rust traits

3 Answered Questions

[SOLVED] When to use val or def in Scala traits?

3 Answered Questions

[SOLVED] The trait cannot be made into an object

2 Answered Questions

5 Answered Questions

[SOLVED] What is a sealed trait?

  • 2012-06-26 08:15:54
  • John Threepwood
  • 79658 View
  • 322 Score
  • 5 Answer
  • Tags:   scala sealed traits

1 Answered Questions

[SOLVED] Java 8 default methods as traits : safe?

3 Answered Questions

[SOLVED] Mixins for ES6 classes, transpiled with babel

13 Answered Questions

[SOLVED] Traits vs. interfaces

  • 2012-02-09 03:40:21
  • datguywhowanders
  • 99442 View
  • 324 Score
  • 13 Answer
  • Tags:   php interface traits

5 Answered Questions

[SOLVED] Mixing in a trait dynamically

7 Answered Questions

[SOLVED] Linearization order in Scala

  • 2015-12-12 17:02:57
  • woodtluk
  • 5882 View
  • 40 Score
  • 7 Answer
  • Tags:   scala traits

3 Answered Questions

[SOLVED] Traits in javascript

3 Answered Questions

5 Answered Questions

[SOLVED] Traits in PHP – any real world examples/best practices?

  • 2011-10-25 16:45:16
  • Max
  • 50975 View
  • 146 Score
  • 5 Answer
  • Tags:   php traits