pub struct UnsafeRef<'a, T>(_, _);
Extending lifetimes is unsafe and when done wrongly can cause undefined behaviour.
Make sure lifetime can be extended to the scope where data behind reference won’t be moved.
Extending lifetimes is unsafe and when done wrongly can cause undefined behaviour.
Make sure lifetime can be extended to the scope where data behind reference won’t be moved.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.