Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in borrowing

Can you implement math ops on structs without explicit references or ownership moving?

How borrow as mutable vs immutable in Rust?

rust mutable borrowing

Can I reassign a mutable slice reference to a sub-slice of itself?

rust lifetime borrowing

How does returning a reference to Path from the function's stack work?

Passing Vec<String> as IntoIterator<&'a str>

String equality in Rust: how does referencing and dereferencing work?

Why does str primarily exist in it's borrowed form? [duplicate]

Why can the Rust compiler break borrowing rules when using Rust 1.31?

How to fix String field does not implement `Copy`? [duplicate]

rust borrowing

Lifetime error using associated type of trait with lifetime parameter

rust traits lifetime borrowing

When does to_owned() not clone?

rust borrowing

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

Why rust ignore lifetime checks on &str?

Rust multiple mutable borrowing

rust mutable borrowing

How do I duplicate a &[u8] slice?

rust borrowing

Swapping two local references leads to lifetime error

Cannot borrow in a Rc as mutable

rust borrowing actix-web

Do Rust's borrowing rules get in the way of functional data structures?

rust borrowing

Why does modifying a mutable reference's value through a raw pointer not violate Rust's aliasing rules?

pointers rust unsafe borrowing

Why is iterating over a collection via `for` loop considered a "move" in Rust?

rust move borrowing