Trait partial_ref::PluckMut

source ·
pub unsafe trait PluckMut<'a, PluckedPart, Index>: PartialRef<'a> {
    type Remainder: PartialRef<'a, Target = Self::Target>;
}
Expand description

(internal) Extracts the mutable part PluckedPart at position Index from the partial reference having this trait, leaving Self::Remainder.

Plucking a mutable part removes it from the remaining reference.

The Index type can be inferred.

Required Associated Types

The partial reference left after plucking.

Implementors

(internal) Pluck a mutable nested subpart of the mutable first part.

This leaves all other subparts in the remaining reference.

(internal) Plucks the first mutable part.

(internal) Skips the constant first part while plucking a mutable part.

(internal) Skips the mutable first part while plucking a mutable part.