Trait gdnative_core::export::Method
source · pub trait Method<C: NativeClass>: Send + Sync + 'static {
fn call(&self, this: TInstance<'_, C>, args: Varargs<'_>) -> Variant;
fn site() -> Option<Site<'static>> { ... }
}
Expand description
Safe low-level trait for stateful, variadic methods that can be called on a native script type.