Search code examples
How to return an Iterator with associated type being generic from a function?...


genericsrustiteratortraitsparametric-polymorphism

Read More
closures: expected u32 found type parameter...


functiongenericsrustclosurestraits

Read More
How to name the type of an associated function in Rust?...


functiongenericsrustclosurestraits

Read More
Why do I get the error "trait bound FromStr is not satisfied" because of a missing type an...


typesrustpattern-matchingtraits

Read More
How to constrain type of right hand side parameter of operator implementation?...


genericsrustpolymorphismtraitsparametric-polymorphism

Read More
Rewriting a function to accept AsRef<Path> instead of &Path...


genericsrusttraitslifetimeborrow-checker

Read More
How do implement a struct that takes a trait MyTrait<A>?...


genericsrustpolymorphismtraitsparametric-polymorphism

Read More
How to return concrete type from generic function?...


functiongenericstypesrusttraits

Read More
Why can't I push into a Vec of dyn Trait unless I use a temporary variable?...


rustpolymorphismtraitsparametric-polymorphismtrait-objects

Read More
Why can't I create a trait object with let _: Arc<dyn Trait> = value.into()?...


genericsrusttraitstrait-objects

Read More
Understanding Generic FromIterator in Rust...


genericsrustlinked-listiteratortraits

Read More
Cast Arc<RwLock<T>> to Arc<RwLock<TraitObject>...


genericsrustclonetraitstrait-objects

Read More
How does the mechanism behind the creation of boxed traits work?...


rustpolymorphismtraitsboxingrepresentation

Read More
How can I avoid unnecessary expensive operations in my iterator implementation when some values are ...


rustiteratortraitslazy-evaluationiterator-traits

Read More
Create a companion object that mixes in a trait that defines a method which returns an object of the...


scalagenericsserializationtraitscompanion-object

Read More
Why does Vec.sort() seem to require a static lifetime?...


vectorrusttraitslifetimetrait-objects

Read More
Rust calling default implementation of function in specialized version...


rustpolymorphismtraitsdefault-implementation

Read More
enable_if not triggering in the constructor?...


c++c++11templatestraits

Read More
Is there a shorter way of appending to a vector in a method call that takes self by value?...


vectormethodsrusttraits

Read More
How to type hint the `$this` property in a trait...


phptraitstype-hintingphpdoc

Read More
Implementing a trait method returning a bounded lifetime reference for owned type...


rusttraitslifetimeborrowing

Read More
The proper ownership for "caching proxy" in Rust?...


rusttraitsownership

Read More
Can't box a struct that implements a trait as a trait object...


rusttraitsbox

Read More
No trait inferred from structs that implement a trait in Rust?...


structrusttraits

Read More
In PHP, can I alias a class property? E.g. to allow ArrayAccess methods via Trait...


phptraits

Read More
How to use non-'static trait objects with associated types?...


rusttraitsassociated-typestrait-objects

Read More
How to define a recursive trait bound in Rust?...


rusttraitstrait-objects

Read More
Multiple implementations for the same trait of the same type in Rust...


rusttraitstypeclass

Read More
How to implement Borrow<T> when T wraps borrowed data?...


rusttraitsborrow-checker

Read More
Generic constructor from integer input for a Rational Number object...


genericsrustcastingtraits

Read More
BackNext