Struct red4ext_rs::types::GlobalFunction
source · pub struct GlobalFunction(/* private fields */);
Expand description
An RTTI representation of a global function.
Implementations§
source§impl GlobalFunction
impl GlobalFunction
pub fn new<R>( full_name: &CStr, short_name: &CStr, handler: FunctionHandler<IScriptable, R>, flags: FunctionFlags, ) -> PoolRef<Self>
pub fn as_function(&self) -> &Function
pub fn as_function_mut(&mut self) -> &mut Function
Trait Implementations§
source§impl Debug for GlobalFunction
impl Debug for GlobalFunction
source§impl Drop for GlobalFunction
impl Drop for GlobalFunction
Auto Trait Implementations§
impl Freeze for GlobalFunction
impl !RefUnwindSafe for GlobalFunction
impl !Send for GlobalFunction
impl !Sync for GlobalFunction
impl Unpin for GlobalFunction
impl !UnwindSafe for GlobalFunction
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