pub enum ParamType {
Signal,
Float,
Int,
String,
Bool,
Record(RecordSchema),
Enum(&'static [&'static str]),
Variadic(Box<ParamType>),
}Expand description
The type of a parameter in a built-in function signature.
Variants§
Signal
A signal wire argument — contributes to the built-in’s input arity.
Float
A compile-time f64 constant.
Int
A compile-time i64 constant.
String
A compile-time string literal.
Bool
A compile-time boolean.
Record(RecordSchema)
A compile-time record literal with a known schema.
Enum(&'static [&'static str])
A compile-time enum value with allowed variants.
Variadic(Box<ParamType>)
Zero or more arguments of the inner type.
Trait Implementations§
impl StructuralPartialEq for ParamType
Auto Trait Implementations§
impl Freeze for ParamType
impl RefUnwindSafe for ParamType
impl Send for ParamType
impl Sync for ParamType
impl Unpin for ParamType
impl UnsafeUnpin for ParamType
impl UnwindSafe for ParamType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more