(mut cx: FunctionContext)
| 22 | } |
| 23 | |
| 24 | fn new_connection(mut cx: FunctionContext) -> JsResult<JsBox<BoxableConnection>> { |
| 25 | Ok(cx.boxed(BoxableConnection(Connection::new(Box::new( |
| 26 | RedBlackTreeSetStorage::new(), |
| 27 | ))))) |
| 28 | } |
| 29 | |
| 30 | fn connection_latest_t(mut cx: FunctionContext) -> JsResult<JsNumber> { |
| 31 | let arg: Handle<JsBox<BoxableConnection>> = cx.argument(0)?; |
nothing calls this directly
no test coverage detected