pub enum Field {
Show 110 variants SAMPLE_ID, SAMPLE_NAME, BLANK, RGB_R, RGB_G, RGB_B, CMYK_C, CMYK_M, CMYK_Y, CMYK_K, FIVECLR_1, FIVECLR_2, FIVECLR_3, FIVECLR_4, FIVECLR_5, SIXCLR_1, SIXCLR_2, SIXCLR_3, SIXCLR_4, SIXCLR_5, SIXCLR_6, SEVENCLR_1, SEVENCLR_2, SEVENCLR_3, SEVENCLR_4, SEVENCLR_5, SEVENCLR_6, SEVENCLR_7, EIGHTCLR_1, EIGHTCLR_2, EIGHTCLR_3, EIGHTCLR_4, EIGHTCLR_5, EIGHTCLR_6, EIGHTCLR_7, EIGHTCLR_8, NCLR(u8), D_RED, D_GREEN, D_BLUE, D_VIS, LAB_L, LAB_A, LAB_B, LCH_L, LCH_C, LCH_H, DE_1976, DE_1994, DE_1994T, DE_CMC, DE_CMC2, DE_2000, XYZ_X, XYZ_Y, XYZ_Z, XYY_X, XYY_Y, XYY_CAPY, SPECTRAL_340, SPECTRAL_350, SPECTRAL_360, SPECTRAL_370, SPECTRAL_380, SPECTRAL_390, SPECTRAL_400, SPECTRAL_410, SPECTRAL_420, SPECTRAL_430, SPECTRAL_440, SPECTRAL_450, SPECTRAL_460, SPECTRAL_470, SPECTRAL_480, SPECTRAL_490, SPECTRAL_500, SPECTRAL_510, SPECTRAL_520, SPECTRAL_530, SPECTRAL_540, SPECTRAL_550, SPECTRAL_560, SPECTRAL_570, SPECTRAL_580, SPECTRAL_590, SPECTRAL_600, SPECTRAL_610, SPECTRAL_620, SPECTRAL_630, SPECTRAL_640, SPECTRAL_650, SPECTRAL_660, SPECTRAL_670, SPECTRAL_680, SPECTRAL_690, SPECTRAL_700, SPECTRAL_710, SPECTRAL_720, SPECTRAL_730, SPECTRAL_740, SPECTRAL_750, SPECTRAL_760, SPECTRAL_770, SPECTRAL_780, SPECTRAL_790, SPECTRAL_800, SPECTRAL_810, SPECTRAL_820, SPECTRAL_830, Other(String),
}
Expand description

The types contained within the DATA_FORMAT section of a CGATS file

Variants

SAMPLE_ID

SAMPLE_NAME

BLANK

RGB_R

RGB_G

RGB_B

CMYK_C

CMYK_M

CMYK_Y

CMYK_K

FIVECLR_1

FIVECLR_2

FIVECLR_3

FIVECLR_4

FIVECLR_5

SIXCLR_1

SIXCLR_2

SIXCLR_3

SIXCLR_4

SIXCLR_5

SIXCLR_6

SEVENCLR_1

SEVENCLR_2

SEVENCLR_3

SEVENCLR_4

SEVENCLR_5

SEVENCLR_6

SEVENCLR_7

EIGHTCLR_1

EIGHTCLR_2

EIGHTCLR_3

EIGHTCLR_4

EIGHTCLR_5

EIGHTCLR_6

EIGHTCLR_7

EIGHTCLR_8

NCLR(u8)

D_RED

D_GREEN

D_BLUE

D_VIS

LAB_L

LAB_A

LAB_B

LCH_L

LCH_C

LCH_H

DE_1976

DE_1994

DE_1994T

DE_CMC

DE_CMC2

DE_2000

XYZ_X

XYZ_Y

XYZ_Z

XYY_X

XYY_Y

XYY_CAPY

SPECTRAL_340

SPECTRAL_350

SPECTRAL_360

SPECTRAL_370

SPECTRAL_380

SPECTRAL_390

SPECTRAL_400

SPECTRAL_410

SPECTRAL_420

SPECTRAL_430

SPECTRAL_440

SPECTRAL_450

SPECTRAL_460

SPECTRAL_470

SPECTRAL_480

SPECTRAL_490

SPECTRAL_500

SPECTRAL_510

SPECTRAL_520

SPECTRAL_530

SPECTRAL_540

SPECTRAL_550

SPECTRAL_560

SPECTRAL_570

SPECTRAL_580

SPECTRAL_590

SPECTRAL_600

SPECTRAL_610

SPECTRAL_620

SPECTRAL_630

SPECTRAL_640

SPECTRAL_650

SPECTRAL_660

SPECTRAL_670

SPECTRAL_680

SPECTRAL_690

SPECTRAL_700

SPECTRAL_710

SPECTRAL_720

SPECTRAL_730

SPECTRAL_740

SPECTRAL_750

SPECTRAL_760

SPECTRAL_770

SPECTRAL_780

SPECTRAL_790

SPECTRAL_800

SPECTRAL_810

SPECTRAL_820

SPECTRAL_830

Other(String)

Implementations

Returns a guess at a Field based on the total number of channels and the index of the channel. Returns an error if there are less than 3 channels or if the index is greater than or equal to the number of channels.

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Format data to a fmt::Formatter
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Creates a value from an iterator. Read more
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method returns an Ordering between self and other. Read more
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
Restrict a value to a certain interval. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.