Struct red4ext_rs::types::StaticMethod
source · pub struct StaticMethod(/* private fields */);
Expand description
An RTTI representation of a static method.
Implementations§
source§impl StaticMethod
impl StaticMethod
pub fn new<R>( full_name: &CStr, short_name: &CStr, class: &Class, 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 StaticMethod
impl Debug for StaticMethod
source§impl Drop for StaticMethod
impl Drop for StaticMethod
Auto Trait Implementations§
impl Freeze for StaticMethod
impl !RefUnwindSafe for StaticMethod
impl !Send for StaticMethod
impl !Sync for StaticMethod
impl Unpin for StaticMethod
impl !UnwindSafe for StaticMethod
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