Struct js::jsapi::ValueOperations [] [src]

pub struct ValueOperations<Outer> {
    pub _phantom0: PhantomData<Outer>,
}
[]

A class designed for CRTP use in implementing the non-mutating parts of the Value interface in Value-like classes. Outer must be a class inheriting ValueOperations with a visible get() method returning a const reference to the Value abstracted by Outer.

Fields

Trait Implementations

impl<Outer: Debug> Debug for ValueOperations<Outer>
[src]

[src]
[]

Formats the value using the given formatter.

impl<Outer: Copy> Copy for ValueOperations<Outer>
[src]

impl<Outer: Clone> Clone for ValueOperations<Outer>
[src]

[src]
[]

Returns a copy of the value. Read more

1.0.0
[src]
[]

Performs copy-assignment from source. Read more