Skip to main content

IntoInputObjectMethod

Trait IntoInputObjectMethod 

Source
pub trait IntoInputObjectMethod<T: 'static, H: HostSchema, A, R>: Read<T, H, A, R, InputView> { }
Expand description

A read-only object method that borrows the current invocation’s input.

Closures receive &T, crate::Input, then up to eight typed arguments. This sealed marker is implemented automatically for matching closures and function pointers.

ⓘ
struct CustomMethod;
impl rustia::IntoInputObjectMethod<(), (), (), ()> for CustomMethod {}

Implementors§

Source§

impl<T: 'static, H: HostSchema, A, R, F> IntoInputObjectMethod<T, H, A, R> for F
where F: Read<T, H, A, R, InputView>,