Trait DataDrivenLayoutProperty

Source
pub trait DataDrivenLayoutProperty {
    type UnevaluatedType: Default;
    type PossiblyEvaluatedTyp: Default;
    type Type;

    const IS_DATA_DRIVEN: bool = true;
    const IS_OVERRIDABLE: bool = false;

    // Required methods
    fn name() -> &'static str;
    fn default_value() -> Self::Type;
}

Provided Associated Constants§

Required Associated Types§

Source

type UnevaluatedType: Default

maplibre/maplibre-native#4add9ea original name: TransitionableType

Source

type PossiblyEvaluatedTyp: Default

maplibre/maplibre-native#4add9ea original name: EvaluatorType

Source

type Type

Required Methods§

Source

fn name() -> &'static str

Source

fn default_value() -> Self::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§

Source§

impl DataDrivenLayoutProperty for IconAnchor

Source§

impl DataDrivenLayoutProperty for IconImage

Source§

impl DataDrivenLayoutProperty for IconOffset

Source§

impl DataDrivenLayoutProperty for IconRotate

Source§

impl DataDrivenLayoutProperty for IconSize

Source§

impl DataDrivenLayoutProperty for SymbolSortKey

Source§

impl DataDrivenLayoutProperty for TextAnchor

Source§

impl DataDrivenLayoutProperty for TextField

Source§

impl DataDrivenLayoutProperty for TextFont

Source§

impl DataDrivenLayoutProperty for TextJustify

Source§

impl DataDrivenLayoutProperty for TextLetterSpacing

Source§

impl DataDrivenLayoutProperty for TextMaxWidth

Source§

impl DataDrivenLayoutProperty for TextOffset

Source§

impl DataDrivenLayoutProperty for TextRadialOffset

Source§

impl DataDrivenLayoutProperty for TextRotate

Source§

impl DataDrivenLayoutProperty for TextSize

Source§

impl DataDrivenLayoutProperty for TextTransform