pub struct PropertyContext {
pub find_prop_fn: String,
pub handle_expr: String,
pub pre_access: String,
pub container_expr: String,
pub is_class: bool,
}Expand description
Context that parameterizes property codegen for classes vs structs.
Fields§
§find_prop_fn: StringReflection API function name: “find_property” or “find_struct_property”.
handle_expr: StringExpression to get the type handle for property lookup. e.g., “Actor::static_class()” or “FVector::static_struct()”.
pre_access: StringValidity check statement (including semicolon). Empty string for structs. e.g., “let h = self.handle();”
container_expr: StringContainer expression for property API calls: “h” or “self.as_ptr()”.
is_class: boolWhether this is a UClass context (true) or struct context (false). Container properties are only valid in class contexts.
Auto Trait Implementations§
impl Freeze for PropertyContext
impl RefUnwindSafe for PropertyContext
impl Send for PropertyContext
impl Sync for PropertyContext
impl Unpin for PropertyContext
impl UnsafeUnpin for PropertyContext
impl UnwindSafe for PropertyContext
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