Enum livemod::BuiltinRepr [−][src]
pub enum BuiltinRepr {
SignedSlider {
storage_min: i64,
storage_max: i64,
suggested_min: i64,
suggested_max: i64,
},
UnsignedSlider {
storage_min: u64,
storage_max: u64,
suggested_min: u64,
suggested_max: u64,
},
FloatSlider {
storage_min: f64,
storage_max: f64,
suggested_min: f64,
suggested_max: f64,
},
SignedInteger {
min: i64,
max: i64,
},
UnsignedInteger {
min: u64,
max: u64,
},
Float {
min: f64,
max: f64,
},
Bool,
String {
multiline: bool,
},
}
Expand description
Convenience type to create builtin livemod reprs.
Variants
A signed integer with suggested bounds.
Maps to livemod:sint
An unsigned integer with suggested bounds.
Maps to livemod:uint
A floating-point number with suggested bounds
Maps to livemod:float
A signed integer without suggested bounds.
Maps to livemod:sint
An unsigned integer without suggested bounds
Maps to livemod:uint
A floating-point number without suggested bounds
Maps to livemod:float
A boolean
Maps to livemod:bool
A strin
Maps to livemod:string
Fields of String
multiline: bool
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BuiltinRepr
impl Send for BuiltinRepr
impl Sync for BuiltinRepr
impl Unpin for BuiltinRepr
impl UnwindSafe for BuiltinRepr
Blanket Implementations
Mutably borrows from an owned value. Read more