[][src]Trait partial_ref::SplitIntoParts

pub unsafe trait SplitIntoParts<'a, ContainingPart, Reference: PartialRef<'a>> {
    type Result: PartialRef<'a, Target = Reference::Target>;
    type ResultMut: PartialRef<'a, Target = Reference::Target>;
}

(internal) Split a part into nested parts.

This is used to implement splitting of nested parts.

Associated Types

type Result: PartialRef<'a, Target = Reference::Target>

A partial reference that has all the parts Reference and all parts of Self nested in ContainingPart as constant parts.

type ResultMut: PartialRef<'a, Target = Reference::Target>

A partial reference that has all the parts Reference and all parts of Self nested in ContainingPart as mutable parts.

Loading content...

Implementors

Loading content...