Enum xlsxwriter::StringOrFloat
source · pub enum StringOrFloat {
String(String),
Float(f64),
}
Expand description
String value or float number value
Variants§
Implementations§
Trait Implementations§
source§impl Clone for StringOrFloat
impl Clone for StringOrFloat
source§fn clone(&self) -> StringOrFloat
fn clone(&self) -> StringOrFloat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StringOrFloat
impl Debug for StringOrFloat
source§impl Default for StringOrFloat
impl Default for StringOrFloat
source§impl From<&str> for StringOrFloat
impl From<&str> for StringOrFloat
source§impl From<String> for StringOrFloat
impl From<String> for StringOrFloat
source§impl From<f64> for StringOrFloat
impl From<f64> for StringOrFloat
source§impl PartialEq<StringOrFloat> for StringOrFloat
impl PartialEq<StringOrFloat> for StringOrFloat
source§fn eq(&self, other: &StringOrFloat) -> bool
fn eq(&self, other: &StringOrFloat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<StringOrFloat> for StringOrFloat
impl PartialOrd<StringOrFloat> for StringOrFloat
source§fn partial_cmp(&self, other: &StringOrFloat) -> Option<Ordering>
fn partial_cmp(&self, other: &StringOrFloat) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more