Trait LayoutProperty

Source
pub trait LayoutProperty {
    type UnevaluatedType;
    type PossiblyEvaluatedType;
    type Type;

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

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

Provided Associated Constants§

Source

const IS_DATA_DRIVEN: bool = false

Source

const IS_OVERRIDABLE: bool = false

Required Associated Types§

Source

type UnevaluatedType

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

Source

type PossiblyEvaluatedType

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 LayoutProperty for IconAllowOverlap

Source§

impl LayoutProperty for IconIgnorePlacement

Source§

impl LayoutProperty for IconKeepUpright

Source§

impl LayoutProperty for IconOptional

Source§

impl LayoutProperty for IconPadding

Source§

impl LayoutProperty for IconPitchAlignment

Source§

impl LayoutProperty for IconRotationAlignment

Source§

impl LayoutProperty for IconTextFit

Source§

impl LayoutProperty for IconTextFitPadding

Source§

impl LayoutProperty for SymbolAvoidEdges

Source§

impl LayoutProperty for SymbolPlacement

Source§

impl LayoutProperty for SymbolSpacing

Source§

impl LayoutProperty for SymbolZOrder

Source§

impl LayoutProperty for TextAllowOverlap

Source§

impl LayoutProperty for TextIgnorePlacement

Source§

impl LayoutProperty for TextKeepUpright

Source§

impl LayoutProperty for TextLineHeight

Source§

impl LayoutProperty for TextMaxAngle

Source§

impl LayoutProperty for TextOptional

Source§

impl LayoutProperty for TextPadding

Source§

impl LayoutProperty for TextPitchAlignment

Source§

impl LayoutProperty for TextRotationAlignment

Source§

impl LayoutProperty for TextVariableAnchor

Source§

impl LayoutProperty for TextWritingMode