Enum yarn_spool::Value [−][src]
A primitive value .
Variants
String(String)
A string value.
Number(f32)
A floating point value.
Boolean(bool)
A boolean value.
Methods
impl Value
[src]
impl Value
Trait Implementations
impl Clone for Value
[src]
impl Clone for Value
fn clone(&self) -> Value
[src]
fn clone(&self) -> Value
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Value
[src]
impl PartialEq for Value
fn eq(&self, other: &Value) -> bool
[src]
fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Add for Value
[src]
impl Add for Value
type Output = Value
The resulting type after applying the +
operator.
fn add(self, other: Value) -> Value
[src]
fn add(self, other: Value) -> Value
Performs the +
operation.
impl Sub for Value
[src]
impl Sub for Value
type Output = Value
The resulting type after applying the -
operator.
fn sub(self, other: Value) -> Value
[src]
fn sub(self, other: Value) -> Value
Performs the -
operation.
impl Mul for Value
[src]
impl Mul for Value
type Output = Value
The resulting type after applying the *
operator.
fn mul(self, other: Value) -> Value
[src]
fn mul(self, other: Value) -> Value
Performs the *
operation.
impl Div for Value
[src]
impl Div for Value