Field

Trait Field 

Source
pub unsafe trait Field<Index> {
    type Type: ?Sized;
}
Expand description

Projects the type of the field at Index in Self without regard for field privacy.

The Index parameter is any sort of handle that identifies the field; its definition is the obligation of the implementer.

§Safety

Unsafe code may assume that this accurately reflects the definition of Self.

Required Associated Types§

Source

type Type: ?Sized

The type of the field at Index.

Implementors§