Search code examples
Why is importing Borrow making calling to borrow to be Borrow::borrow instead of RefCell::borrow...

rustsmart-pointersborrow

Read More
How to count the number of filtered elements in a chain of iterator adapters...

rustfilteriteratormutableborrow

Read More
How to push a variable's value into a vector but keep the variable alive?...

rustvectorcloneborrow

Read More
Why is this considered borrowed...

rustborrow-checkerborrow

Read More
When a type is `Copy` should a method move (`self`) or borrow (`&self`) the type?...

rustmoveborrow-checkerdereferenceborrow

Read More
Cannot borrow `*self`. How to make the fn work without string cloning?...

rustborrow-checkerborrow

Read More
Why are match statements more picky about reference types than function parameters?...

rustreferencematchborrow

Read More
Rust: what is different in the slice clone method?...

rustsliceborrow-checkerborrow

Read More
Rust private function throws error when trying to return tuple of values...

rusttuplesreturnownershipborrow

Read More
Why does calling .to_string() on a String avoid a move error? Isn't it a no-op?...

rustborrow

Read More
How to create factory that dynamically creates values and returns borrows to them?...

rustborrow-checkerborrow

Read More
How does Rust calculate lifetime of a moved value?...

rustlifetimeborrow

Read More
Why I got "cannot borrow `arr[_]` as mutable more than once at a time"?...

rustswapmutableborrow

Read More
What do the '&&' and star '**' symbols mean in Rust?...

pointersrustborrow

Read More
Rust How to modify a polars DataFrame in a function, so that the caller see the changes?...

rustreferencemutablerust-polarsborrow

Read More
Rust immutable borrow followed by mutating code in a same method...

rustimmutabilitymutableborrow

Read More
Mutable reference to Vec<_> does not live long enough in while loop...

rustlifetimeborrow

Read More
Mutate an object which was taken from a vector...

rustreferencemutableborrow

Read More
Rust lifetime syntax when borrowing variables...

rustreferencelifetimeborrow

Read More
Borrowing errors bypassable with an intermediate variable...

rustcompiler-errorsborrow-checkerborrow

Read More
Rust double mut borrow in loops...

rustborrow

Read More
ref to 'static does not live long enough?...

rustlifetimeborrow-checkerborrowingborrow

Read More
multiple self borrows within trait default methods...

rustborrow

Read More
Rust async-std strange syntax in order to resolve the conflict of read-write borrowing...

rustconflictborrow

Read More
Rust check borrow with the whole HashMap, not check the key, is there any good way?...

rusthashmapborrow

Read More
Iterate through a sized Range<T> by borrowing it...

rustrangeiterationimmutabilityborrow

Read More
rust borrow check looks very smart , it can check and flat reads and writes of loop. but how can I b...

loopsrustbreakborrow

Read More
I want move elements of HashSet[0] to HashSet[1], error[E0502]: cannot borrow `hsets` as mutable bec...

rustimmutabilitymutableborrow

Read More
cannot borrow `hsets` as mutable because it is also borrowed as immutable...

rustimmutabilityborrow

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

rustborrow-checkerborrowingborrowmutable-reference

Read More
BackNext