Search code examples
What is the correct way to use lifetimes with a struct in Rust?...


rustlifetime

Read More
Returning const reference to temporary behaves differently than local const reference?...


c++referencelifetimetemporarytemporary-objects

Read More
.NET: Way to determine if object has any references to it?...


.netgarbage-collectionclrlifetime

Read More
What does the first explicit lifetime specifier on an impl mean?...


rustlifetime

Read More
Does placement-new of array of bytes (which implictly creates objects) end the lifetime of the objec...


c++language-lawyerlifetimeplacement-newc++23

Read More
Value does not live long enough...


rustlifetimeborrowing

Read More
Why does this combination of GATs, lifetimes, and async require `T: 'static`?...


rustasync-awaitlifetimegeneric-associated-types

Read More
Lifetimes for implementing a trait's associated type with a reference...


rustreferencetraitslifetimeassociated-types

Read More
Lifetime variance issue when using trait with associated type that has a lifetime...


rustlifetime

Read More
Borrowing in Rust...


rustlifetimeborrow-checker

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


rustlifetimeborrow-checkerownershipmutable-reference

Read More
Lifetime issue using `anyhow` crate in combination with `nom` crate...


rustlifetime

Read More
Lambda passed by reference runs when invoked in the constructor, but not when later stored in a data...


c++c++11lambdalifetime

Read More
Compile-time tracking of "value owner" with lifetimes...


rustlifetime

Read More
strange lifetime in rust functions, second mutable borrow occurs...


rustlifetimeborrow-checker

Read More
Ensure extended lifetime of MutexGuard used as reference...


rustlifetimewgpu-rs

Read More
How to handle lifetimes in closures combined with closures as params and return types?...


rustclosureslifetime

Read More
Is there any way to cast a Callback<MouseEvent> into FnMut(MouseEvent)?...


rustlifetimeyewweb-sys

Read More
When is it useful to define multiple lifetimes in a struct?...


rustlifetime

Read More
End of object lifetime if its storage is partially reused...


c++language-lawyerc++20lifetime

Read More
What is lifetime elision in very simple terms?...


rustlifetime

Read More
Returning with a Local Variable in a Function Template...


c++c++11lambdalifetime

Read More
Why does a nested array object prevent providing storage?...


c++arrayslanguage-lawyerlifetime

Read More
Why is a static lifetime asked for and how can I narrow it when dealing with rust Iterators?...


rustlifetime

Read More
Spawn non-static future with Tokio...


rustasync-awaitlifetimerust-tokio

Read More
Why `std::mem::forget` cannot be used for creating static references?...


rustlifetime

Read More
Why does conditionally returning an immutable reference in a loop inhibit creating a mutable borrowi...


rustreferencelifetime

Read More
Find index of a dyn trait in Vector...


rusttraitslifetime

Read More
&str with lifetime for "After Deserialization"...


rustlifetime

Read More
How to call an async function with a non-static reference in `poll` in rust?...


rustfuturelifetimerust-futures

Read More
BackNext