Trait gdnative_core::export::StaticArgsMethod
source · [−]pub trait StaticArgsMethod<C: NativeClass>: Send + Sync + 'static {
type Args: FromVarargs;
fn call(&self, this: TInstance<'_, C>, args: Self::Args) -> Variant;
fn site() -> Option<Site<'static>> { ... }
}
Expand description
Trait for methods whose argument lists are known at compile time. Not to be confused with a “static method”.