Skip to main content

IntoSlotReadObjectMethod

Trait IntoSlotReadObjectMethod 

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

A read-only object method that borrows the invocation’s saved slot snapshot.

Closures receive &T, crate::Slots, 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> IntoSlotReadObjectMethod<T, H, A, R> for F
where F: Read<T, H, A, R, SlotReadView>,