servo / rust-mozjs

DEPRECATED - moved to servo/mozjs instead.
Mozilla Public License 2.0
293 stars 117 forks source link

Add ToJSValConvertible impls for &T and Box<T> #492

Closed Manishearth closed 4 years ago

Manishearth commented 4 years ago

This lets us do things like write a to_frozen_array() function that operates on &[impl ToJSValConvertible], agnostic about &T, DomRoot<T>, or &Dom<T>

r? @jdm

jdm commented 4 years ago

@bors-servo r+

bors-servo commented 4 years ago

:pushpin: Commit 240a078 has been approved by jdm

bors-servo commented 4 years ago

:hourglass: Testing commit 240a078060b58ed01da644c0414765d80d531faa with merge 437460db87ef3c10f34388fc565d590110ead571...

bors-servo commented 4 years ago

:sunny: Test successful - checks-travis, status-appveyor Approved by: jdm Pushing 437460db87ef3c10f34388fc565d590110ead571 to master...