Search code examples
How to decide when function input params should be references or not?...


rustownershipborrowing

Read More
Why am I allowed to call take() on a mutable reference to an iterator?...


rustreferenceiteratorborrowing

Read More
Derefence a vector of references in Rust...


rustborrowing

Read More
Recursive data type that doesn't care about owning substructure...


rustownershipborrowing

Read More
Why can borrowed string literal outlive its owner by faking a lifetime?...


rustlifetimeborrow-checkerborrowing

Read More
How can I write a builder that stores a Path?...


pathrustborrowing

Read More
What are the best practices for multiple mutable and immutable borrows?...


rustborrow-checkerborrowing

Read More
A variable modified by two closures...


rustclosuresmutableborrowing

Read More
Return Ref to something inside of Rc<RefCell<>> without Ref::map...


rustownershipborrowingrefcell

Read More
Can Box move its contents when the whole Box is moved?...


rustheap-memorymove-semanticsborrowing

Read More
Problem returning a libusb::Device from a function - attempting to return value referencing data own...


rustborrowing

Read More
How to avoid filter_map() gives error "returns a value referencing data owned by the current fu...


rustlifetimeborrowing

Read More
Can I avoid using explicit lifetime specifiers and instead use reference counting (Rc)?...


rustreferencelifetimereference-countingborrowing

Read More
Why does order of mutable borrows matter in Rust?...


rustmutableborrow-checkerborrowing

Read More
Rust borrowing rules in `for...in` loop...


rustborrowing

Read More
Rust borrowing with some object types and not others?...


rustborrowing

Read More
"BorrowMutError" using the Interior Mutability Pattern...


rustborrow-checkerborrowing

Read More
How do I mutate and optionally remove elements from a vec without memory allocation?...


vectorrustborrowing

Read More
Avoiding borrowing mutable and immutable at the same time...


rustborrowing

Read More
Does a function parameter that accepts a string reference point directly to the string variable or t...


pointersrustreferenceownershipborrowing

Read More
Rust `Vec` - cannot borrow `Vec` as immutable inside `impl` method (error[E0502])...


vectorrustborrowing

Read More
Iterating through a recursive structure using mutable references and returning the last valid refere...


referencerustmutableborrowing

Read More
How to return chained iterators in rust...


rustiteratorownershipborrowing

Read More
Rust not allowing mutable borrow when splitting properly...


rustimmutabilityborrowing

Read More
Separating mutable borrows for trait with lifetime parameter...


rusttraitslifetimeborrow-checkerborrowing

Read More
How to manage properly ownership with borrowing in Rust?...


rustnodeslifetimeownershipborrowing

Read More
Problems with lifetime/borrow on str type...


rustlifetimeborrowing

Read More
Rust linked list cannot borrow previous and next elemt as mutable (just need immutable reference)...


rustborrow-checkerborrowingborrowmutable-reference

Read More
How do I create a struct of references to traits when one object might implement multiple of the tra...


rustmutabilityborrowing

Read More
Using the same lifetime for the pointer and the lifetime parameter of the struct it points to...


rustlifetimeborrowing

Read More
BackNext