Skip to main content

Crate mln_expression

Crate mln_expression 

Source
Expand description

Ports src/mln/style/expression + include/mln/style/expression.

Module-per-file, mirroring the C++ tree. type, match, let and in are Rust keywords, so those modules are type_, match_, let_ and in_.

Re-exports§

pub use expression::Dependency;
pub use expression::EvalResult;
pub use expression::EvaluationContext;
pub use expression::EvaluationError;
pub use expression::EvaluationResult;
pub use expression::Expression;
pub use expression::ExpressionBase;
pub use expression::Kind;
pub use expression::downcast;
pub use find_zoom_curve::ZoomCurve;
pub use find_zoom_curve::ZoomCurvePtr;
pub use find_zoom_curve::find_zoom_curve;
pub use find_zoom_curve::find_zoom_curve_checked;
pub use formatted::Formatted;
pub use formatted::FormattedSection;
pub use image::Image;
pub use interpolate::Interpolate;
pub use interpolate::create_interpolate;
pub use interpolator::Interpolator;
pub use is_constant::is_feature_constant;
pub use is_constant::is_runtime_constant;
pub use is_constant::is_zoom_constant;
pub use is_expression::is_expression;
pub use literal::Literal;
pub use parsing_context::ParseResult;
pub use parsing_context::ParsingContext;
pub use parsing_context::ParsingError;
pub use parsing_context::TypeAnnotationOption;
pub use step::Step;
pub use stops::Stops;
pub use type_::Type;
pub use value::Value;
pub use value::ValueConverter;
pub use value::from_expression_value;
pub use value::to_expression_value;
pub use value::value_type_to_expression_type;

Modules§

assertion
at
boolean_operator
case
check_subtype
coalesce
coercion
collator
collator_expression
comparison
compound_expression
distance
dsl
error
expression
find_zoom_curve
format_expression
formatted
image
image_expression
in_
index_of
interpolate
interpolator
is_constant
is_expression
length
let_
literal
match_
number_format
parsing_context
range
semiliteral
slice
step
stops
type_
utf8_op_helpers
util
value
within