pub struct MappedType {
pub rust_type: String,
pub rust_ffi_type: String,
pub cpp_type: String,
pub property_getter: String,
pub property_setter: String,
pub rust_to_ffi: ConversionKind,
pub ffi_to_rust: ConversionKind,
pub supported: bool,
}Expand description
Mapped type information for code generation.
Fields§
§rust_type: StringRust type in function signatures (e.g., “bool”, “i32”, “UObjectRef
rust_ffi_type: StringRust type for the FFI boundary (e.g., “bool”, “i32”, “UObjectHandle”).
cpp_type: StringC++ type for the wrapper function (e.g., “bool”, “int32”, “UObject*”).
property_getter: StringPropertyApi method name for getters (e.g., “get_bool”, “get_i32”).
property_setter: StringPropertyApi method name for setters.
rust_to_ffi: ConversionKindHow to convert from Rust safe type to FFI type in function call.
ffi_to_rust: ConversionKindHow to convert from FFI type to Rust safe type in return.
supported: boolWhether this is a supported type for Phase 3.
Trait Implementations§
Source§impl Clone for MappedType
impl Clone for MappedType
Source§fn clone(&self) -> MappedType
fn clone(&self) -> MappedType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MappedType
impl RefUnwindSafe for MappedType
impl Send for MappedType
impl Sync for MappedType
impl Unpin for MappedType
impl UnsafeUnpin for MappedType
impl UnwindSafe for MappedType
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