Struct rquickjs_core::WithProto [−][src]
pub struct WithProto<'js, C>(pub C, pub Object<'js>);
This is supported on crate feature
classes
only.Expand description
The prototype setting wrapper
This wrapper helps instantiate a class with desired prototype which is quite useful with constructors because allows class to be inheritable.
Tuple Fields
0: C
1: Object<'js>