pub trait CoerceShared: Reborrow {
type Target: Copy;
}
🔬This is a nightly-only experimental API. (
reborrow
)Available on crate feature
mtls
only.Expand description
Allows reborrowable value to be reborrowed as shared, creating a copy that disables the source for writes for the lifetime of the copy.