kreator/value
Types
pub type Value {
String(String)
Int(Int)
Float(Float)
Bool(Bool)
Raw(String)
Null
List(List(Value))
}
Constructors
-
String(String)
-
Int(Int)
-
Float(Float)
-
Bool(Bool)
-
Raw(String)
-
Null
-
List(List(Value))
Functions
pub fn bool(i: Bool) -> Value
pub fn float(i: Float) -> Value
pub fn int(i: Int) -> Value
pub fn list(i: List(Value)) -> Value
pub fn null() -> Value
pub fn raw(i: String) -> Value
pub fn string(i: String) -> Value
pub fn to_placeholder(
value: Value,
dialect: Dialect,
) -> StringBuilder