Skip to main content

IntoExternalMutObjectMethod

Trait IntoExternalMutObjectMethod 

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

A method that may change its payload and external application state immediately.

Closures receive &mut 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> IntoExternalMutObjectMethod<T, H, A, R> for F
where F: Write<T, H, A, R, ExternalView>,