#[repr(C)]pub enum ParamType {
Any = 0,
Cell = 2,
Float = 4,
String = 7,
Array = 9,
VarArgs = 10,
CellByRef = 3,
FloatByRef = 5,
}
Expand description
Describes the various ways to pass parameters to plugins.
Variants§
Any = 0
Any data type can be pushed
Cell = 2
Only basic cells can be pushed
Float = 4
Only floats can be pushed
String = 7
Only strings can be pushed
Array = 9
Only arrays can be pushed
VarArgs = 10
Same as “…” in plugins, anything can be pushed, but it will always be byref
CellByRef = 3
Only a cell by reference can be pushed
FloatByRef = 5
Only a float by reference can be pushed
Auto Trait Implementations§
impl Freeze for ParamType
impl RefUnwindSafe for ParamType
impl Send for ParamType
impl Sync for ParamType
impl Unpin 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