Search code examples
Borrowing issues using variables wrapped in Arc<Mutex<>> in Rust...


ruststructmutexautomatic-ref-countingownership

Read More
How to add element to vector and return reference to that element?...


rustownership

Read More
How do I create a Rust struct that can link to another instance of itself?...


rustownership

Read More
How to return reference to value inside Rc<RefCell<Node>>...


rustborrow-checkerownershipinterior-mutability

Read More
Why is the child QObject still accessible when the parent is deleted?...


pythonqtpyqtpyqt5ownership

Read More
Why can I shadow a variable which has been borrowed before? Where is the owner?...


rustborrow-checkerownershipshadowingownership-semantics

Read More
How to access lines from a referenced BufReader in Rust...


rustfilestreamownership

Read More
What are move semantics in Rust?...


rustmove-semanticsownership

Read More
Rust - memory management - pop ownership - linked list...


rustmemory-managementownership

Read More
Avoiding explicit type annotation for a struct constructor, where the struct contains a generic fiel...


genericsrustownership

Read More
Rust ownership for pushing to a vector whose members are referenced...


rustvectorhashsetownership

Read More
passing ownership in rust...


rustownership

Read More
Take ownership of local object field...


rustownership

Read More
How to mutate reference while moving ownership in recursive data struct?...


rustreferenceownership

Read More
What is this rust code to remove duplicates from an unsorted linked list doing on a low-level in the...


rustborrow-checkerownership

Read More
Unable to bound lifetime in for each loop using str.lines() function...


stringrustiteratorownershipfor-in-loop

Read More
Does println! borrow or own the variable?...


rustownership

Read More
Rust - Converting from `&str` to `String` and back with Closures...


rustclosuresborrow-checkerownershipborrowing

Read More
Rust Destructors and ownership...


cmemory-managementrustdestructorownership

Read More
Should I take `self` by value or mutable reference when using the Builder pattern?...


design-patternsrustownership

Read More
Why doesn't (&mut iter).take(n) take ownership of iter?...


rustownership

Read More
Why does .clone() not prevent a move when used in a closure?...


rustclosuresownership

Read More
impl trait with move method for trait object of same trait...


rusttraitsownershiptrait-objects

Read More
Why can I create iterator of values from Vec and not from array?...


arraysrustvectorownership

Read More
How can a closure outlive the main function if the entire process ends when main function ends?...


rustclosuresownership

Read More
Need more explanation in the behaviour of Scope and Drop call in Rust in the context of Ownership...


rustownership

Read More
Rust Reborrowing Shared Reference from Mutable Reference...


rustlifetimeborrow-checkerownershipmutable-reference

Read More
How can I return a mutable reference to a value owned by the current function...


rustborrow-checkerownershipmutable-reference

Read More
Map without side-effects? A map that takes ownership (and not a mutable reference) on insert?...


rustownership

Read More
How do I iterate over a vector of strings stored in a struct without moving them?...


rustborrow-checkerownership

Read More
BackNext