StackOverflow Questions for Tag: traits

unsafe_where_true
unsafe_where_true

Reputation: 6320

Return a custom error from enum FromStr parsing

Score: 0

Views: 29

Answers: 0

Read More
Tommaso Clini
Tommaso Clini

Reputation: 45

Trying to make bounded floating point types in rust, problem with From and Into

Score: 4

Views: 90

Answers: 2

Read More
Anaphory
Anaphory

Reputation: 6432

Define trait as supertype of existing built-in type

Score: 0

Views: 27

Answers: 1

Read More
anton lobanov
anton lobanov

Reputation: 41

Problem with lifetimes in rust async dyn trait

Score: 0

Views: 37

Answers: 0

Read More
Matthieu
Matthieu

Reputation: 437

Overwrite trait in Laravel to change behaviour of Dusk

Score: 5

Views: 1011

Answers: 1

Read More
Hannes Ryberg
Hannes Ryberg

Reputation: 13

Generic trait not implemented for a closure returned by a function

Score: 1

Views: 39

Answers: 1

Read More
LordF
LordF

Reputation: 506

How to write test for Trait

Score: 0

Views: 58

Answers: 1

Read More
minomy13
minomy13

Reputation: 130

Using generic constants and AsRef in operator overloading

Score: 0

Views: 18

Answers: 0

Read More
McBain
McBain

Reputation: 85

How to make a trait that uses an array whose length changes with each implementer?

Score: 0

Views: 41

Answers: 1

Read More
gmelodie
gmelodie

Reputation: 452

Axum the trait Handler<_, _, _> is not implemented for fn item

Score: 0

Views: 139

Answers: 1

Read More
Guy Fawkes
Guy Fawkes

Reputation: 2441

How to overload class constructor within traits in PHP >= 5.4

Score: 86

Views: 78682

Answers: 4

Read More
RedCrafter LP
RedCrafter LP

Reputation: 240

Implement foreign Trait with Implicit lifetime on method

Score: 0

Views: 33

Answers: 1

Read More
twig-froth
twig-froth

Reputation: 67

How to unify error types for Sender::send and JoinHandle::join?

Score: 0

Views: 42

Answers: 1

Read More
Alexander  Pravdin
Alexander Pravdin

Reputation: 5579

PHP: How to call parent method from a trait method used in current class?

Score: 4

Views: 9017

Answers: 2

Read More
Fahed
Fahed

Reputation: 205

Problem with method visibility in a trait in Rust

Score: 0

Views: 79

Answers: 1

Read More
peoro
peoro

Reputation: 26060

Trait method that can be implemented to either return a reference or an owned value

Score: 5

Views: 2244

Answers: 3

Read More
LucioleMaléfique
LucioleMaléfique

Reputation: 770

Overflow when checking trait bound on a custom Add implementation

Score: 5

Views: 56

Answers: 1

Read More
runnyjr
runnyjr

Reputation: 13

Expose function and trait that hides internal trait bounds

Score: 1

Views: 34

Answers: 1

Read More
fadedbee
fadedbee

Reputation: 44807

Implementing std::ops::Add for arguments with disimilar types

Score: 0

Views: 44

Answers: 1

Read More
bunnyhu
bunnyhu

Reputation: 61

VSC PHP Intelephense not see class trait in Controller

Score: 0

Views: 31

Answers: 0

Read More
PreviousPage 1Next