floria-plugin-sdk 0.0.5

Floria plugin SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::super::super::dispatch_bindings::*;

/// Convert vector of [Expression] to vector of string.
pub fn expression_vec_to_strings(values: &Vec<Expression>) -> Vec<String> {
    values.iter().map(|expression| expression.to_string()).collect()
}

/// Convert vector of [Expression] to string.
pub fn expression_vec_to_string(expression: &Vec<Expression>) -> String {
    expression_vec_to_strings(expression).join(",")
}