Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in trait-objects
Is there a way to store a random number generator as a trait object?
Nov 02, 2025
rust
traits
trait-objects
How to pass an Arc clone to a closure?
Oct 29, 2025
rust
closures
lifetime
borrow-checker
trait-objects
How to coerce a Vec of structs to a Vec of trait objects?
Oct 28, 2025
rust
traits
trait-objects
What are the rules for coercing values to trait objects?
Oct 27, 2025
rust
traits
trait-objects
How do you select a struct based on a string in Rust?
Sep 10, 2025
string
rust
trait-objects
dynamic-dispatch
Why can't Box<dyn Trait> be pased to a function with &mut Trait as parameter
Sep 08, 2025
rust
traits
trait-objects
Generics plus dynamic dispatch
Mar 07, 2023
rust
traits
trait-objects
How to pass a boxed trait object by value in Rust?
Mar 04, 2023
rust
traits
trait-objects
How can I use Rc::clone while casting to a trait object?
Mar 03, 2023
rust
trait-objects
Why can't I push into a Vec of dyn Trait unless I use a temporary variable?
Jan 27, 2023
rust
polymorphism
traits
parametric-polymorphism
trait-objects
What is the cited problem with using generic type parameters in trait objects?
Dec 25, 2022
generics
rust
traits
trait-objects
What are the rules for blanket implementations regarding modules?
Nov 08, 2022
generics
rust
traits
trait-objects
How do you create a Box<dyn Trait>, or a boxed unsized value in general?
May 29, 2022
rust
trait-objects
How can I create a list of owned trait objects without allocating each item on the heap separately?
Nov 18, 2022
rust
trait-objects
Are vtables generated for all types that implement a trait?
Aug 22, 2022
rust
traits
vtable
trait-objects
Why can a function on a trait object not be called when bounded with `Self: Sized`?
Nov 11, 2022
rust
traits
trait-objects
Why can't some traits be made into objects
Jun 21, 2022
rust
trait-objects
Why does using Option::map to Box::new a trait object not work?
Nov 02, 2022
rust
trait-objects
Why can a &str not be passed to a function accepting a &dyn Display trait object?
Oct 28, 2022
rust
trait-objects
Older Entries »