Search code examples
Can't use locally created vector because "borrowed"...


jsonvectorrustserdeborrowing

Read More
Why does cloning data inside a closure not prevent the error "closure may outlive the current f...


rustgtklifetimeborrowinggtk-rs

Read More
How to delete item from Hashmap inside a RefCell within an RwLock-ed Struct...


collectionsrustmutableborrowing

Read More
A Hashmap supporting String and &str...


rustborrowingcopy-on-writerun-time-polymorphism

Read More
Borrowing problem when inserting struct in HashSet...


structrusthashsetborrowing

Read More
Why is "&&" being used in closure arguments?...


referencerustborrowing

Read More
How can I return the combination of two borrowed RefCells?...


rustiteratorborrowing

Read More
Ownership, closures, FnOnce: much confusion...


rustclosuresmovemutableborrowing

Read More
How to return when ref and ownership transfer both won't work...


rustownershipborrowing

Read More
"cannot move out borrowed content" when assigning a variable from a struct field...


rustborrow-checkerborrowing

Read More
Cyclic reference of RefCell borrows in traversal...


rustsmart-pointerslifetimeborrowinginterior-mutability

Read More
How can I send my Vec to a function taking an Iterator as a parameter?...


vectorrustiteratorborrowing

Read More
How do I write a rust function that can both read and write to a cache?...


rustborrow-checkerborrowing

Read More
Multiple iterations of vector with structs "cannot move out of borrowed content"...


rustborrow-checkerborrowing

Read More
Why does Rust expect double borrow (`&&'a mut T`)...


typesrustborrow-checkerborrowing

Read More
How to check if two reference variable are borrowing the same object?...


rustborrowing

Read More
How to write a proper generic function signature when borrowing data across multiple traits...


rusttraitslifetimeborrowing

Read More
Interior mutability vs data hiding to hold fixed the referant of a mutable borrow...


rustborrow-checkerborrowinginterior-mutability

Read More
Why can I force reference move semantics for `&self` parameter of method, but not function param...


rustlifetimeborrowing

Read More
How to copy instead of borrow an i64 into a closure in Rust?...


rustcopyborrowing

Read More
How can I obtain an &A reference from a Rc<RefCell<A>>?...


referencerustsmart-pointersborrowing

Read More
In what scenarios are APIs that don't borrow preferred?...


referencerustmove-semanticsapi-designborrowing

Read More
How to build a flexible multiple type data system in Rust without cloning strings?...


stringrusttype-conversionpolymorphismborrowing

Read More
Can't use Vec two times and I can't borrow it instead...


vectorrustmove-semanticsborrowing

Read More
Why does borrow checker need life time tags for output when the inputs are very clear?...


rustlifetimeborrow-checkerborrowing

Read More
Understanding de-referencing using '*' in rust...


syntaxreferencerustmove-semanticsborrowing

Read More
Why did compiler not error on this mutable borrow when there is an immutable borrowed string slice r...


rustownershipborrowing

Read More
Structs containing mutable slices...


referencerustslicemutableborrowing

Read More
Value wants to live for whole function scope...


rustlifetimeborrowing

Read More
Lifetime error using associated type of trait with lifetime parameter...


rusttraitslifetimeborrowing

Read More
BackNext