Trait ExternalField

pub trait ExternalField<const I: u8>: NativeElement {
    type Type;

    const FIELD: ExternalFieldData<Self, I>;
}
Expand description

A field that is not actually there. It’s only visible in the docs.

Required Associated Constants§

const FIELD: ExternalFieldData<Self, I>

Required Associated Types§

type Type

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl ExternalField<0> for CircleElem

§

const FIELD: ExternalFieldData<CircleElem, 0>

§

type Type = Length

§

impl ExternalField<0> for PageElem

§

const FIELD: ExternalFieldData<PageElem, 0>

§

type Type = Paper

§

impl ExternalField<0> for ScaleElem

§

const FIELD: ExternalFieldData<ScaleElem, 0>

§

type Type = Smart<ScaleAmount>

§

impl ExternalField<0> for SquareElem

§

const FIELD: ExternalFieldData<SquareElem, 0>

§

type Type = Smart<Length>

§

impl ExternalField<2> for GridElem

§

const FIELD: ExternalFieldData<GridElem, 2>

§

type Type = TrackSizings

§

impl ExternalField<2> for TableElem

§

const FIELD: ExternalFieldData<TableElem, 2>

§

type Type = TrackSizings

§

impl ExternalField<3> for MatElem

§

const FIELD: ExternalFieldData<MatElem, 3>

§

type Type = Rel

§

impl ExternalField<4> for PadElem

§

const FIELD: ExternalFieldData<PadElem, 4>

§

type Type = Rel

§

impl ExternalField<5> for PadElem

§

const FIELD: ExternalFieldData<PadElem, 5>

§

type Type = Rel

§

impl ExternalField<6> for PadElem

§

const FIELD: ExternalFieldData<PadElem, 6>

§

type Type = Rel

§

impl ExternalField<8> for BlockElem

§

const FIELD: ExternalFieldData<BlockElem, 8>

§

type Type = Spacing

§

impl ExternalField<17> for PageElem

§

const FIELD: ExternalFieldData<PageElem, 17>

§

type Type = Content

§

impl ExternalField<32> for TextElem

§

const FIELD: ExternalFieldData<TextElem, 32>

§

type Type = Content