On Fri, Jul 12, 2013 at 5:43 PM, Patrick Walton <pwal...@mozilla.com> wrote:

> I suspect it would be something like:
>
>     #[deriving(JsManagable)]
>     struct MyObject {
>         field_a: int,
>         field_b: float,
>         field_c: Option<JsManaged<OtherObject>>**,
>         ...
>     }
>

Great, that looks OK.

Does Option<JSManaged<>> compile down to a single machine word with no
overhead for dereferencing?

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to