Trait SplitIntoParts

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

(internal) Split a part into nested parts.

This is used to implement splitting of nested parts.

Required Associated Types§

Source

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.

Source

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.

Implementors§