#[repr(transparent)]pub struct UObjectHandle(pub *mut c_void);Expand description
Opaque handle to a UObject. Rust never dereferences — it is a C++ side identifier.
Tuple Fields§
§0: *mut c_voidTrait Implementations§
Source§impl Clone for UObjectHandle
impl Clone for UObjectHandle
Source§fn clone(&self) -> UObjectHandle
fn clone(&self) -> UObjectHandle
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 moreSource§impl ContainerElement for UObjectHandle
impl ContainerElement for UObjectHandle
Source§const BUF_SIZE: u32
const BUF_SIZE: u32
Buffer size for FFI transport. Must be large enough for the C++ side
to write the element value.
Source§unsafe fn read_from_buf(buf: *const u8, _written: u32) -> Self
unsafe fn read_from_buf(buf: *const u8, _written: u32) -> Self
Interpret bytes from the C++ side into a Rust value. Read more
Source§unsafe fn write_to_buf(&self, buf: *mut u8) -> u32
unsafe fn write_to_buf(&self, buf: *mut u8) -> u32
Write this value into a buffer for C++
WriteElement to consume.
Returns the number of bytes written. Read moreSource§const RAW_COPYABLE: bool = false
const RAW_COPYABLE: bool = false
Whether this type can be bulk-copied as raw bytes (no per-element framing).
True for fixed-size primitives (bool, integers, floats) and FName.
Source§impl Debug for UObjectHandle
impl Debug for UObjectHandle
Source§impl Hash for UObjectHandle
impl Hash for UObjectHandle
Source§impl PartialEq for UObjectHandle
impl PartialEq for UObjectHandle
impl Copy for UObjectHandle
impl Eq for UObjectHandle
impl Send for UObjectHandle
impl StructuralPartialEq for UObjectHandle
impl Sync for UObjectHandle
Auto Trait Implementations§
impl Freeze for UObjectHandle
impl RefUnwindSafe for UObjectHandle
impl Unpin for UObjectHandle
impl UnsafeUnpin for UObjectHandle
impl UnwindSafe for UObjectHandle
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