Skip to main content

IntoObjectMethod

Trait IntoObjectMethod 

Source
pub trait IntoObjectMethod<T: 'static, A, R>: Read<T, A, R> { }
Expand description

A read-only Rust-object method accepted by crate::ObjectType.

Closures receive &T, then up to eight typed arguments. This sealed marker is implemented automatically; use ordinary closures or function pointers.

Implementors§

Source§

impl<T: 'static, A, R, F: Read<T, A, R>> IntoObjectMethod<T, A, R> for F