Struct js::jsapi::Opaque [] [src]

#[repr(C)]
pub struct Opaque<T> { pub mValue: T, }

Opaque is a replacement for integral T in cases where only comparisons must be supported, and it's desirable to prevent accidental dependency on exact values.

Fields

Trait Implementations

impl<T: Debug> Debug for Opaque<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: Copy> Copy for Opaque<T>
[src]

impl<T: Clone> Clone for Opaque<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more