CoerceShared

Trait CoerceShared 

Source
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.

Required Associated Types§

Source

type Target: Copy

🔬This is a nightly-only experimental API. (reborrow)

The type of this value when reborrowed as shared.

Implementors§