Struct js::jsapi::JSConstScalarSpec
[−]
[src]
#[repr(C)]pub struct JSConstScalarSpec<T> { pub name: *const c_char, pub val: T, }
Fields
name: *const c_char
val: T
Trait Implementations
impl<T: Debug> Debug for JSConstScalarSpec<T>
[src]
impl<T: Copy> Copy for JSConstScalarSpec<T>
[src]
impl<T: Clone> Clone for JSConstScalarSpec<T>
[src]
fn clone(&self) -> JSConstScalarSpec<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more