Skip to main content

IntoExternalObjectMethod

Trait IntoExternalObjectMethod 

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

An object method with immediate access to external application state.

Closures receive &T, crate::HostMut, then up to eight typed arguments. This sealed marker is implemented automatically for matching callbacks.

Implementors§

Source§

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