[−][src]Trait partial_ref::IntoPartialRef
Construction of partial references.
See also IntoPartialRefMut
.
This trait gets an automatic implementation for references (mutable or immutable) to any type
that has a derive statement for PartialRefTarget
. Usually there is no need to implement this
trait manually.
Associated Types
type Ref: PartialRef<'a>
Required methods
fn into_partial_ref(self) -> Self::Ref
Convert a mutable or immutable reference into a partial reference.