Struct js::jsapi::JSConstScalarSpec
[−]
[src]
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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src][−]
Formats the value using the given formatter.
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