[][src]Trait partial_ref::PartialRefTarget

pub trait PartialRefTarget {
    type RawTarget: ?Sized;
}

A type that can be the target of partial references.

Implementations for this trait should be derived, see partial_ref_derive.

Associated Types

type RawTarget: ?Sized

A partial reference will be represented by a pointer to this associated type.

In most cases this is the implementing type itself. This is not a requirement though. In the future, some features will introduce PartialRefTargets that have a different associated RawTarget type.

Loading content...

Implementors

Loading content...