Struct red4ext_rs::GlobalMetadata
source · pub struct GlobalMetadata { /* private fields */ }
Expand description
A representation of a global function, including its name, a function handler, and its type.
Implementations§
source§impl GlobalMetadata
impl GlobalMetadata
sourcepub fn to_rtti(&self) -> PoolRef<GlobalFunction>
pub fn to_rtti(&self) -> PoolRef<GlobalFunction>
Converts this metadata into a GlobalFunction
instance, which can be registered with
RttiSystemMut.
sourcepub fn to_rtti_static_method(&self, class: &Class) -> PoolRef<StaticMethod>
pub fn to_rtti_static_method(&self, class: &Class) -> PoolRef<StaticMethod>
Converts this metadata into a StaticMethod
instance, which can be registered with
RttiSystemMut.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GlobalMetadata
impl RefUnwindSafe for GlobalMetadata
impl Send for GlobalMetadata
impl Sync for GlobalMetadata
impl Unpin for GlobalMetadata
impl UnwindSafe for GlobalMetadata
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