Struct partial_ref::IndexSplit

source ·
pub struct IndexSplit<NestedPartIndex, Index>(_, _);
Expand description

(internal) Split the first part.

Trait Implementations

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

The partial reference left after plucking.

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

This leaves all other subparts as mutable in the remaining reference.

The partial reference left after plucking.

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

This leaves all other subparts in the remaining reference.

The partial reference left after plucking.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Given a constant pointer to a target, produce a constant pointer to a part of it.
Given a mutable pointer to a target, produce a mutable pointer to a part of it.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.