pub enum ParamConversion {
Primitive(String),
ObjectRef(String),
Enum {
rust_type: String,
repr: String,
},
FName,
String,
Struct {
struct_name: String,
cpp_name: String,
},
}Expand description
How to read a delegate param from the raw params buffer.
Variants§
Primitive(String)
Primitive: read directly as the type (bool, i32, f32, etc.)
ObjectRef(String)
Object reference: read UObjectHandle, wrap in UObjectRef
Enum
Enum: read underlying repr, convert via from_value.
FName
FName: use read_param FFI to properly pack FName (Editor-safe).
String
String/FText: use read_param FFI to read UTF-8 string.
Struct
Struct: use read_param FFI to read struct bytes, wrap in OwnedStruct
Auto Trait Implementations§
impl Freeze for ParamConversion
impl RefUnwindSafe for ParamConversion
impl Send for ParamConversion
impl Sync for ParamConversion
impl Unpin for ParamConversion
impl UnsafeUnpin for ParamConversion
impl UnwindSafe for ParamConversion
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