# maplibre::style - Rust
Vector tile format styling.
Keywords: rust, rustlang, rust-lang, style

# Module maplibre::style

source · [−]
Expand description

Vector tile format styling.

## Modules

layer

Vector tile layer drawing utilities.

source

Vector tile data utilities.

style

Default vector tile styles configuration.

## Structs

Aces2065

A color in the ACES 2065-1 color space.

AcesCc

A color in the ACEScc color space.

AcesCct

A color in the ACEScct color space.

AcesCg

A color in the ACEScg color space.

Alpha

A color with an alpha component.

Bt2020

A color in the BT.2020 color space.

Bt2100

A color in the BT.2100 color space.

CieLCh

A color in the CIE L*C*h° color space.

CieLab

A color in the CIE L*a*b* color space.

CieXYZ

A color in the CIE XYZ color space.

DciP3

A color in the DCI-P3 (aka P3 DCI and P3 D60) color space.

DciXYZPrime

A color in the X’Y’Z’ color space, a DCI specification used for digital cinema mastering.

DisplayP3

A color in the Display P3 (aka P3 D65) color space.

EncodedBt2020

A color in the encoded BT.2020 color space.

EncodedBt2100HLG

A color in the encoded BT.2100 color space with HLG (Hybrid Log-Gamma) transfer function.

EncodedBt2100PQ

A color in the encoded BT.2100 color space with PQ (Perceptual Quantizer) transfer function.

EncodedDisplayP3

A color in the Display P3 (aka P3 D65) color space.

EncodedRec709

A color in the encoded Rec.709/BT.709 color space.

EncodedSrgb

A color in the encoded sRGB color space.

GenericColor

A color in a generic color space that can be represented by 3 components. The user is responsible for ensuring that the correct color space is respected.

Hsl

A color in the HSL color space.

Hsv

A color in the HSV color space.

ICtCpHLG

A color in the ICtCp color space with HLG (Hybrid Log-Gamma) nonlinearity.

ICtCpPQ

A color in the ICtCp color space with PQ (Perceptual Quantizer) nonlinearity.

LinearSrgb

A color in the linear (decoded) sRGB color space.

Oklab

A color in the Oklab color space.

Oklch

A color in the Oklch color space (a transformation from Oklab to LCh° coordinates).

PremultipliedAlpha

A premultiplied color with an alpha component.

Rec709

A color in the Rec.709/BT.709 color space.

Style

Stores the style for a multi-layered map.

## Traits

ColorInterop

A trait that should be implemented by provider crates on their local color types so that you can call `color.to_cint()` and `Color::from_cint(cint_color)`.

ColorStruct

A trait used to simpify the interface of the `Alpha` and `PremultipliedAlpha` types.