Struct ruwren::MethodPointer
source · pub struct MethodPointer {
pub is_static: bool,
pub signature: FunctionSignature,
pub pointer: unsafe extern "C" fn(_: *mut WrenVM),
}
Fields§
§is_static: bool
§signature: FunctionSignature
§pointer: unsafe extern "C" fn(_: *mut WrenVM)
Trait Implementations§
source§impl Clone for MethodPointer
impl Clone for MethodPointer
source§fn clone(&self) -> MethodPointer
fn clone(&self) -> MethodPointer
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for MethodPointer
impl Send for MethodPointer
impl Sync for MethodPointer
impl Unpin for MethodPointer
impl UnwindSafe for MethodPointer
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