NamedPropertyGetterCallback

Type Alias NamedPropertyGetterCallback 

Source
pub type NamedPropertyGetterCallback = unsafe extern "C" fn(SealedLocal<Name>, *const PropertyCallbackInfo<Value>) -> Intercepted;
Expand description

Interceptor for get requests on an object.

Use [ReturnValue] to set the return value of the intercepted get request. If the property does not exist the callback should not set the result and must not produce side effects.

See also [ObjectTemplate::set_handler].